LoginSignup
1
0

More than 1 year has passed since last update.

実行されないcronjobを作る

Last updated at Posted at 2022-08-09

用途

  • create job --fromでcronjobのときにcronjobをテンプレートのみとして使いたい
  • job自体は手動実行させたい
  • cronで実行してほしくない
  • というような場合

サンプル

  • 決して訪れることがない、2/31に実行するようにする
apiVersion: batch/v1
kind: CronJob
metadata:
  name: testcronjob
spec:
  schedule: "* * 31 2 *"
  jobTemplate:
1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0