--- apiVersion: v1 kind: Pod metadata: name: test namespace: kube-system labels: eks.amazonaws.com/compute-type: fargate # NOTE: Fargateで起動するためのラベル spec: containers: - name: app image: ubuntu:20.04 command: ['bash', '-lc'] # とりあえず起動だけしておいて欲しいのでtty: trueにしてbashを実行 tty: true args: - >- bash readinessProbe: exec: command: - sh - -c - ps -ef | grep [b]ash initialDelaySeconds: 5 periodSeconds: 1 livenessProbe: exec: command: - sh - -c - ps -ef | grep [b]ash initialDelaySeconds: 5 periodSeconds: 1