A Day-2 host management interface for Kubernetes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
hostconfig-operator/demo_examples/example_reconcile_iteration...

21 lines
541 B

# This CR executes the shell and kubeadm commands on the
# master nodes for every 30s. The execution happens for
# 3 times.
apiVersion: hostconfig.airshipit.org/v1alpha1
kind: HostConfig
metadata:
annotations:
ansible.sdk.operatorframework.io/reconcile-period: "30s"
ansible.sdk.operatorframework.io/reconcile-iterations: "3"
name: example10
spec:
host_groups:
- name: "kubernetes.io/role"
values:
- "master"
config:
exec:
- name: test.sh
kubeadm:
- command: "alpha certs check-expiration"