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

20 lines
475 B

# This example CR when created executes the shell and
# kubeadm commands on the nodes labelled as master for
# every 30s.
apiVersion: hostconfig.airshipit.org/v1alpha1
kind: HostConfig
metadata:
annotations:
ansible.sdk.operatorframework.io/reconcile-period: "30s"
name: example9
spec:
host_groups:
- name: "kubernetes.io/role"
values:
- "master"
config:
exec:
- name: test.sh
kubeadm:
- command: "alpha certs check-expiration"