1

I would like to run multiple scripts as part of my Kubernetes container. Any ideas please anyone?

containers:
- name: xyz
  image: ghost:0.11-alpine
  command: ["/scripts/wrapper.sh"]
  ports:
  - name: xyx
    containerPort: 2368
    protocol: TCP

I'm able to run one script successfully but adding in a second seems to be the issue.

edbighead
  • 5,607
  • 5
  • 29
  • 35
Hammed
  • 1,457
  • 1
  • 24
  • 37
  • Does this answer your question? https://stackoverflow.com/questions/33887194/how-to-set-multiple-commands-in-one-yaml-file-with-kubernetes – jbielick Jul 08 '20 at 16:30
  • Looks like it might. I'll have a crack at it. Thanks. – Hammed Jul 08 '20 at 16:43

0 Answers0