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

kubernetes yaml for this docker image. #21

Open
MaheshIBM opened this issue Nov 3, 2017 · 1 comment
Open

kubernetes yaml for this docker image. #21

MaheshIBM opened this issue Nov 3, 2017 · 1 comment
Milestone

Comments

@MaheshIBM
Copy link

It would be good if the kubernetes yaml file for this image is documented somewhere. I am trying to use this with kubernetes and mount a persistent volume for the /home directory.

@MaheshIBM
Copy link
Author

Below is the yaml

apiVersion: v1
kind: Pod
metadata:
  name: db2-angoca
  labels:
    tier: db2-database
spec:
  containers:
  - name: db2-angoca-container
    image: angoca/db2inst1:expc
    command: ["/bin/sh"]
    args: ["-c", "/home/db2inst1/sqllib/adm/db2start;while true; do echo hello; sleep 10;done"]
    ports:
      - containerPort: 50000
    securityContext:
      privileged: true

@angoca angoca added this to the v2 milestone Jan 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants