mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 18:22:54 +02:00
Add sleep to container
This commit is contained in:
@@ -23,6 +23,9 @@ spec:
|
|||||||
key: config
|
key: config
|
||||||
image: ghcr.io/ente-io/server
|
image: ghcr.io/ente-io/server
|
||||||
name: museum
|
name: museum
|
||||||
|
command: [ "sh", "-c"]
|
||||||
|
# loop forever, outputting "yo" every 5 seconds
|
||||||
|
args: ["while true; do echo 'yo' && sleep 5; done;"]
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|||||||
Reference in New Issue
Block a user