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_interval....

19 lines
528 B

# This HostConfig CR executes the kubeadm command on the
# master nodes for every 30s for an interval of 2m40s.
# This covers 5 iterations.
apiVersion: hostconfig.airshipit.org/v1alpha1
kind: HostConfig
metadata:
annotations:
ansible.sdk.operatorframework.io/reconcile-period: "30s"
ansible.sdk.operatorframework.io/reconcile-interval: "2m40s"
name: example11
spec:
host_groups:
- name: "kubernetes.io/role"
values:
- "master"
config:
kubeadm:
- command: "alpha certs check-expiration"