Add limits to http validation pod

This commit is contained in:
Louis Taylor 2018-03-23 16:30:34 +00:00
parent 5865aba4da
commit d6c7244028
No known key found for this signature in database
GPG Key ID: 8E81A6DAE13E7098

View File

@ -328,6 +328,10 @@ func (s *Solver) ensurePod(crt *v1alpha1.Certificate, domain, token, key string,
corev1.ResourceCPU: resource.MustParse("10m"),
corev1.ResourceMemory: resource.MustParse("2Mi"),
},
Limits: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("10m"),
corev1.ResourceMemory: resource.MustParse("2Mi"),
},
},
Ports: []corev1.ContainerPort{
{