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

Handling init containers. #4

Open
mdgreenwald opened this issue Aug 20, 2019 · 0 comments
Open

Handling init containers. #4

mdgreenwald opened this issue Aug 20, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mdgreenwald
Copy link
Owner

If a deployment has init containers, we need to be able to handle that case. Presently we would have no way to update init-containers.

apiVersion: v1
kind: Pod
metadata:
  name: myapp-pod
  labels:
    app: myapp
spec:
  containers:
  - name: myapp-container
    image: busybox:1.28
    command: ['sh', '-c', 'echo The app is running! && sleep 3600']
  initContainers:
  - name: init-myservice
    image: busybox:1.28
    command: ['sh', '-c', 'until nslookup myservice; do echo waiting for myservice; sleep 2; done;']
@mdgreenwald mdgreenwald added the enhancement New feature or request label Aug 20, 2019
@mdgreenwald mdgreenwald self-assigned this Aug 20, 2019
@mdgreenwald mdgreenwald changed the title Handle init containers. Handling init containers. Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant