You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

CronJob을 수동 실행 하고 싶어요.

kubectl create job --from=cronjob/kubernetes-cron-job manual-cron-job

Secret Password를 인코딩 할래요.

echo -n '{PASSWORD}' | base64

Network 점검 할 수 있는 Pod가 필요해요.

kubectl run nettools --image=jrecord/nettools -- sleep 48000
apiVersion: v1
kind: Pod
metadata:
  name: nettools
  namespace: default
spec:
  containers:
  - name: nettools
    image: jrecord/nettools:latest
    command:
      - sleep
      - "48000"
    imagePullPolicy: IfNotPresent
  restartPolicy: Never



  • No labels