Playbook #1

/root/kubeinit/ci/builds/6mbKNrxD/0/kubeinit/kubeinit/kubeinit-aux/kubeinit/playbook.yml

Report Status CLI Date Duration Controller User Versions Hosts Plays Tasks Results Files Records
31 Oct 2023 08:44:29 +0000 00:45:59.97 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 9 7 1091 1091 53 1

Task result details

Field Value
changed
False
msg
All items completed
results

Result #1

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[preflight] Running pre-flight checks
skip_reason
Conditional result was False
skipped
True



Result #2

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[reset] Deleted contents of the etcd data directory: /var/lib/etcd
skip_reason
Conditional result was False
skipped
True



Result #3

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[reset] Stopping the kubelet service
skip_reason
Conditional result was False
skipped
True



Result #4

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[reset] Unmounting mounted directories in "/var/lib/kubelet"
skip_reason
Conditional result was False
skipped
True



Result #5

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[reset] Deleting contents of directories: [/etc/kubernetes/manifests /etc/kubernetes/pki]
skip_reason
Conditional result was False
skipped
True



Result #6

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[reset] Deleting files: [/etc/kubernetes/admin.conf /etc/kubernetes/kubelet.conf /etc/kubernetes/bootstrap-kubelet.conf /etc/kubernetes/controller-manager.conf /etc/kubernetes/scheduler.conf]
skip_reason
Conditional result was False
skipped
True



Result #7

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item

skip_reason
Conditional result was False
skipped
True



Result #8

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
The reset process does not clean CNI configuration. To do so, you must remove /etc/cni/net.d
skip_reason
Conditional result was False
skipped
True



Result #9

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item

skip_reason
Conditional result was False
skipped
True



Result #10

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
The reset process does not reset or clean up iptables rules or IPVS tables.
skip_reason
Conditional result was False
skipped
True



Result #11

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
If you wish to reset iptables, you must do so manually by using the "iptables" command.
skip_reason
Conditional result was False
skipped
True



Result #12

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item

skip_reason
Conditional result was False
skipped
True



Result #13

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
If your cluster was setup to utilize IPVS, run ipvsadm --clear (or similar)
skip_reason
Conditional result was False
skipped
True



Result #14

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
to reset your system's IPVS tables.
skip_reason
Conditional result was False
skipped
True



Result #15

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item

skip_reason
Conditional result was False
skipped
True



Result #16

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
The reset process does not clean your kubeconfig files and you must remove them manually.
skip_reason
Conditional result was False
skipped
True



Result #17

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
Please, check the contents of the $HOME/.kube/config file.
skip_reason
Conditional result was False
skipped
True



Result #18

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[init] Using Kubernetes version: v1.26.10
skip_reason
Conditional result was False
skipped
True



Result #19

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[preflight] Running pre-flight checks
skip_reason
Conditional result was False
skipped
True



Result #20

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[preflight] Pulling images required for setting up a Kubernetes cluster
skip_reason
Conditional result was False
skipped
True



Result #21

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[preflight] This might take a minute or two, depending on the speed of your internet connection
skip_reason
Conditional result was False
skipped
True



Result #22

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'
skip_reason
Conditional result was False
skipped
True



Result #23

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[certs] Using certificateDir folder "/etc/kubernetes/pki"
skip_reason
Conditional result was False
skipped
True



Result #24

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[certs] Generating "ca" certificate and key
skip_reason
Conditional result was False
skipped
True



Result #25

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[certs] Generating "apiserver" certificate and key
skip_reason
Conditional result was False
skipped
True



Result #26

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[certs] apiserver serving cert is signed for DNS names [api.k8scluster.kubeinit.local controller-01.k8scluster.kubeinit.local kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local] and IPs [10.96.0.1 10.0.0.1]
skip_reason
Conditional result was False
skipped
True



Result #27

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[certs] Generating "apiserver-kubelet-client" certificate and key
skip_reason
Conditional result was False
skipped
True



Result #28

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[certs] Generating "front-proxy-ca" certificate and key
skip_reason
Conditional result was False
skipped
True



Result #29

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[certs] Generating "front-proxy-client" certificate and key
skip_reason
Conditional result was False
skipped
True



Result #30

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[certs] Generating "etcd/ca" certificate and key
skip_reason
Conditional result was False
skipped
True



Result #31

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[certs] Generating "etcd/server" certificate and key
skip_reason
Conditional result was False
skipped
True



Result #32

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[certs] etcd/server serving cert is signed for DNS names [controller-01.k8scluster.kubeinit.local localhost] and IPs [10.0.0.1 127.0.0.1 ::1]
skip_reason
Conditional result was False
skipped
True



Result #33

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[certs] Generating "etcd/peer" certificate and key
skip_reason
Conditional result was False
skipped
True



Result #34

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[certs] etcd/peer serving cert is signed for DNS names [controller-01.k8scluster.kubeinit.local localhost] and IPs [10.0.0.1 127.0.0.1 ::1]
skip_reason
Conditional result was False
skipped
True



Result #35

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[certs] Generating "etcd/healthcheck-client" certificate and key
skip_reason
Conditional result was False
skipped
True



Result #36

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[certs] Generating "apiserver-etcd-client" certificate and key
skip_reason
Conditional result was False
skipped
True



Result #37

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[certs] Generating "sa" key and public key
skip_reason
Conditional result was False
skipped
True



Result #38

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[kubeconfig] Using kubeconfig folder "/etc/kubernetes"
skip_reason
Conditional result was False
skipped
True



Result #39

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[kubeconfig] Writing "admin.conf" kubeconfig file
skip_reason
Conditional result was False
skipped
True



Result #40

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[kubeconfig] Writing "kubelet.conf" kubeconfig file
skip_reason
Conditional result was False
skipped
True



Result #41

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[kubeconfig] Writing "controller-manager.conf" kubeconfig file
skip_reason
Conditional result was False
skipped
True



Result #42

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[kubeconfig] Writing "scheduler.conf" kubeconfig file
skip_reason
Conditional result was False
skipped
True



Result #43

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[kubelet-start] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"
skip_reason
Conditional result was False
skipped
True



Result #44

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[kubelet-start] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml"
skip_reason
Conditional result was False
skipped
True



Result #45

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[kubelet-start] Starting the kubelet
skip_reason
Conditional result was False
skipped
True



Result #46

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[control-plane] Using manifest folder "/etc/kubernetes/manifests"
skip_reason
Conditional result was False
skipped
True



Result #47

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[control-plane] Creating static Pod manifest for "kube-apiserver"
skip_reason
Conditional result was False
skipped
True



Result #48

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[control-plane] Creating static Pod manifest for "kube-controller-manager"
skip_reason
Conditional result was False
skipped
True



Result #49

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[control-plane] Creating static Pod manifest for "kube-scheduler"
skip_reason
Conditional result was False
skipped
True



Result #50

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests"
skip_reason
Conditional result was False
skipped
True



Result #51

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s
skip_reason
Conditional result was False
skipped
True



Result #52

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[apiclient] All control plane components are healthy after 21.026627 seconds
skip_reason
Conditional result was False
skipped
True



Result #53

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[upload-config] Storing the configuration used in ConfigMap "kubeadm-config" in the "kube-system" Namespace
skip_reason
Conditional result was False
skipped
True



Result #54

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[kubelet] Creating a ConfigMap "kubelet-config" in namespace kube-system with the configuration for the kubelets in the cluster
skip_reason
Conditional result was False
skipped
True



Result #55

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[upload-certs] Storing the certificates in Secret "kubeadm-certs" in the "kube-system" Namespace
skip_reason
Conditional result was False
skipped
True



Result #56

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[upload-certs] Using certificate key:
skip_reason
Conditional result was False
skipped
True



Result #57

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
a556f0b00416b503d4050e1d2e1b5048cb3d0030c38c3990a7d266633eb2cbdd
skip_reason
Conditional result was False
skipped
True



Result #58

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[mark-control-plane] Marking the node controller-01.k8scluster.kubeinit.local as control-plane by adding the labels: [node-role.kubernetes.io/control-plane node.kubernetes.io/exclude-from-external-load-balancers]
skip_reason
Conditional result was False
skipped
True



Result #59

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[mark-control-plane] Marking the node controller-01.k8scluster.kubeinit.local as control-plane by adding the taints [node-role.kubernetes.io/control-plane:NoSchedule]
skip_reason
Conditional result was False
skipped
True



Result #60

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[bootstrap-token] Using token: 17ziyg.uxb3iy6rfh4ydrr8
skip_reason
Conditional result was False
skipped
True



Result #61

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[bootstrap-token] Configuring bootstrap tokens, cluster-info ConfigMap, RBAC Roles
skip_reason
Conditional result was False
skipped
True



Result #62

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[bootstrap-token] Configured RBAC rules to allow Node Bootstrap tokens to get nodes
skip_reason
Conditional result was False
skipped
True



Result #63

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[bootstrap-token] Configured RBAC rules to allow Node Bootstrap tokens to post CSRs in order for nodes to get long term certificate credentials
skip_reason
Conditional result was False
skipped
True



Result #64

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[bootstrap-token] Configured RBAC rules to allow the csrapprover controller automatically approve CSRs from a Node Bootstrap Token
skip_reason
Conditional result was False
skipped
True



Result #65

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[bootstrap-token] Configured RBAC rules to allow certificate rotation for all node client certificates in the cluster
skip_reason
Conditional result was False
skipped
True



Result #66

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[bootstrap-token] Creating the "cluster-info" ConfigMap in the "kube-public" namespace
skip_reason
Conditional result was False
skipped
True



Result #67

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[kubelet-finalize] Updating "/etc/kubernetes/kubelet.conf" to point to a rotatable kubelet client certificate and key
skip_reason
Conditional result was False
skipped
True



Result #68

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[addons] Applied essential addon: CoreDNS
skip_reason
Conditional result was False
skipped
True



Result #69

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[addons] Applied essential addon: kube-proxy
skip_reason
Conditional result was False
skipped
True



Result #70

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item

skip_reason
Conditional result was False
skipped
True



Result #71

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
Your Kubernetes control-plane has initialized successfully!
skip_reason
Conditional result was False
skipped
True



Result #72

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item

skip_reason
Conditional result was False
skipped
True



Result #73

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
To start using your cluster, you need to run the following as a regular user:
skip_reason
Conditional result was False
skipped
True



Result #74

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item

skip_reason
Conditional result was False
skipped
True



Result #75

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
mkdir -p $HOME/.kube
skip_reason
Conditional result was False
skipped
True



Result #76

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
skip_reason
Conditional result was False
skipped
True



Result #77

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
sudo chown $(id -u):$(id -g) $HOME/.kube/config
skip_reason
Conditional result was False
skipped
True



Result #78

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item

skip_reason
Conditional result was False
skipped
True



Result #79

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
Alternatively, if you are the root user, you can run:
skip_reason
Conditional result was False
skipped
True



Result #80

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item

skip_reason
Conditional result was False
skipped
True



Result #81

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
export KUBECONFIG=/etc/kubernetes/admin.conf
skip_reason
Conditional result was False
skipped
True



Result #82

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item

skip_reason
Conditional result was False
skipped
True



Result #83

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
You should now deploy a pod network to the cluster.
skip_reason
Conditional result was False
skipped
True



Result #84

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at:
skip_reason
Conditional result was False
skipped
True



Result #85

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
https://kubernetes.io/docs/concepts/cluster-administration/addons/
skip_reason
Conditional result was False
skipped
True



Result #86

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item

skip_reason
Conditional result was False
skipped
True



Result #87

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
You can now join any number of the control-plane node running the following command on each as root:
skip_reason
Conditional result was False
skipped
True



Result #88

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item

skip_reason
Conditional result was False
skipped
True



Result #89

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
kubeadm join api.k8scluster.kubeinit.local:6443 --token 17ziyg.uxb3iy6rfh4ydrr8 \
skip_reason
Conditional result was False
skipped
True



Result #90

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
--discovery-token-ca-cert-hash sha256:2b9dbb9c64d4868edf54d6eb6be607cdc1713b12e2b2155a4fa7c31059140d50 \
skip_reason
Conditional result was False
skipped
True



Result #91

Field Value
ansible_facts
{
    "k8s_controller_join_key": "\t--control-plane --certificate-key a556f0b00416b503d4050e1d2e1b5048cb3d0030c38c3990a7d266633eb2cbdd"
}
ansible_loop_var
item
changed
False
failed
False
item
--control-plane --certificate-key a556f0b00416b503d4050e1d2e1b5048cb3d0030c38c3990a7d266633eb2cbdd



Result #92

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item

skip_reason
Conditional result was False
skipped
True



Result #93

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
Please note that the certificate-key gives access to cluster sensitive data, keep it secret!
skip_reason
Conditional result was False
skipped
True



Result #94

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
As a safeguard, uploaded-certs will be deleted in two hours; If necessary, you can use
skip_reason
Conditional result was False
skipped
True



Result #95

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
"kubeadm init phase upload-certs --upload-certs" to reload certs afterward.
skip_reason
Conditional result was False
skipped
True



Result #96

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item

skip_reason
Conditional result was False
skipped
True



Result #97

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
Then you can join any number of worker nodes by running the following on each as root:
skip_reason
Conditional result was False
skipped
True



Result #98

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item

skip_reason
Conditional result was False
skipped
True



Result #99

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
kubeadm join api.k8scluster.kubeinit.local:6443 --token 17ziyg.uxb3iy6rfh4ydrr8 \
skip_reason
Conditional result was False
skipped
True



Result #100

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
--discovery-token-ca-cert-hash sha256:2b9dbb9c64d4868edf54d6eb6be607cdc1713b12e2b2155a4fa7c31059140d50
skip_reason
Conditional result was False
skipped
True