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

Compare with Current View Page History

« Previous Version 9 Next »

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

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

Secret Password를 인코딩 할래요.

echo -n '{PASSWORD}' | base64

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

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



  • No labels