Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues while deploying agent helm v0.1.1 #33

Closed
simran3695 opened this issue Jun 25, 2020 · 1 comment
Closed

Issues while deploying agent helm v0.1.1 #33

simran3695 opened this issue Jun 25, 2020 · 1 comment
Assignees
Labels
bug Something isn't working k8s spec template

Comments

@simran3695
Copy link
Contributor

@ayasuda2003 We are getting below error for EC Client Deployment after removing unecessary flags and enabling new agent helm with service enabled.

Service "ec-eng-ci-agent" is invalid: [spec.ports[0].name: Invalid value: "agentSvcPort": a DNS-1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name', or '123-abc', regex used for validation is 'a-z0-9?'), spec.ports[0].targetPort: Invalid value: "agentPort": must contain only alpha-numeric characters (a-z, 0-9), and hyphens (-), spec.ports[1].name: Invalid value: "agentSvcHealthPort": a DNS-1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name', or '123-abc', regex used for validation is 'a-z0-9?'), spec.ports[1].targetPort: Invalid value: "agentHealthPort": must contain only alpha-numeric characters (a-z, 0-9), and hyphens (-)]

Deployment.apps "ec-eng-ci-agent" is invalid: [spec.template.spec.containers[0].livenessProbe.httpGet.port: Invalid value: "agentHealthPort": must contain only alpha-numeric characters (a-z, 0-9), and hyphens (-), spec.template.spec.containers[0].readinessProbe.httpGet.port: Invalid value: "agentHealthPort": must contain only alpha-numeric characters (a-z, 0-9), and hyphens (-), spec.template.spec.containers[0].ports[0].name: Invalid value: "agentPort": must contain only alpha-numeric characters (a-z, 0-9), and hyphens (-), spec.template.spec.containers[0].ports[1].name: Invalid value: "agentHealthPort": must contain only alpha-numeric characters (a-z, 0-9), and hyphens (-)]

Below error is for the EC Server Deloyment:

Error: render error in "ec-eng-ci-server/charts/agent/templates/service.yaml": template: ec-eng-ci-server/charts/agent/templates/service.yaml:10:8: executing "ec-eng-ci-server/charts/agent/templates/service.yaml" at <include "agent.svcPortSpec" .>: error calling include: template: ec-eng-ci-server/charts/agent/templates/_helpers.tpl:82:57: executing "agent.svcPortSpec" at <.Values.global.agtK8Config.svcPortNum>: nil pointer evaluating interface {}.svcPortNum

@simran3695
Copy link
Contributor Author

This issue has been resolved. We are good to close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working k8s spec template
Projects
None yet
Development

No branches or pull requests

4 participants