如何在掌舵中给kubelet提供image-pull-progress-deadline命令?

时间:2019-05-21 10:27:13

标签: kubernetes kubernetes-helm kubelet

在kubelet中,我们给出image-pull-progress-deadline来定义拉动进度,如官方文档中所述:

If no pulling progress is made before this deadline, the image pulling will be cancelled. (default 1m0s)

我想利用此功能但要带头盔。如何在类似于以下的配置中做到这一点:

proxy:
  secretToken: "yada_yada"
singleuser:
  image:
    name: yada_yada.dkr.ecr.ap-south-1.amazonaws.com/demo
    tag: 2a
  lifecycleHooks:
    postStart:
      exec:
        command: ["/bin/sh", "-c", 'ipython profile create; cd ~/.ipython/profile_default/startup; echo ''run_id = "sample" ''> aviral.py']
  imagePullSecret:
    enabled: true
    registry: yada_yada.dkr.ecr.ap-south-1.amazonaws.com
    username: aws
    email: aviral@yada_yada.com
    password:

0 个答案:

没有答案