Skip to content

Commit

Permalink
Revert "Replace usages of nslookup with nc for user deployments (#…
Browse files Browse the repository at this point in the history
…11033)"

This reverts commit 39f525a.
  • Loading branch information
johannkm committed Feb 23, 2023
1 parent 39f525a commit 2492317
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helm/dagster/templates/deployment-daemon.yaml
Expand Up @@ -58,7 +58,7 @@ spec:
{{- range $deployment := $userDeployments.deployments }}
- name: "init-user-deployment-{{- $deployment.name -}}"
image: {{ include "dagster.externalImage.name" $.Values.busybox.image | quote }}
command: ['sh', '-c', "until nc -zv {{ $deployment.name -}} {{ $deployment.port -}} -w1; do echo waiting for user service; sleep 2; done"]
command: ['sh', '-c', "until nslookup {{ $deployment.name -}}; do echo waiting for user service; sleep 2; done"]
{{- end }}
{{- end }}
containers:
Expand Down
2 changes: 1 addition & 1 deletion helm/dagster/templates/helpers/_deployment-dagit.tpl
Expand Up @@ -55,7 +55,7 @@ spec:
{{- range $deployment := $userDeployments.deployments }}
- name: "init-user-deployment-{{- $deployment.name -}}"
image: {{ include "dagster.externalImage.name" $.Values.busybox.image | quote }}
command: ['sh', '-c', "until nc -zv {{ $deployment.name -}} {{ $deployment.port -}} -w1; do echo waiting for user service; sleep 2; done"]
command: ['sh', '-c', "until nslookup {{ $deployment.name -}}; do echo waiting for user service; sleep 2; done"]
securityContext:
{{- toYaml $.Values.dagit.securityContext | nindent 12 }}
{{- end }}
Expand Down

0 comments on commit 2492317

Please sign in to comment.