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
26 Oct 2023 19:36:23 +0000 00:45:02.10 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 8 9 1048 1048 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
[init] Using Kubernetes version: v1.28.3
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
[preflight] Running pre-flight checks
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
[preflight] Pulling images required for setting up a Kubernetes cluster
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
[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 #5

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 #6

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 #7

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 #8

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 #9

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.ekscluster.kubeinit.local controller-01.ekscluster.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 #10

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 #11

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 #12

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 #13

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 #14

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 #15

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.ekscluster.kubeinit.local localhost] and IPs [10.0.0.1 127.0.0.1 ::1]
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
[certs] Generating "etcd/peer" certificate and key
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
[certs] etcd/peer serving cert is signed for DNS names [controller-01.ekscluster.kubeinit.local localhost] and IPs [10.0.0.1 127.0.0.1 ::1]
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
[certs] Generating "etcd/healthcheck-client" certificate and key
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
[certs] Generating "apiserver-etcd-client" certificate and key
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
[certs] Generating "sa" key and public key
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
[kubeconfig] Using kubeconfig folder "/etc/kubernetes"
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
[kubeconfig] Writing "admin.conf" kubeconfig file
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
[kubeconfig] Writing "kubelet.conf" kubeconfig file
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
[kubeconfig] Writing "controller-manager.conf" kubeconfig file
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
[kubeconfig] Writing "scheduler.conf" kubeconfig file
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
[etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests"
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
[control-plane] Using manifest folder "/etc/kubernetes/manifests"
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
[control-plane] Creating static Pod manifest for "kube-apiserver"
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
[control-plane] Creating static Pod manifest for "kube-controller-manager"
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
[control-plane] Creating static Pod manifest for "kube-scheduler"
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
[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 #32

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 #33

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 #34

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 #35

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 19.527353 seconds
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
[upload-config] Storing the configuration used in ConfigMap "kubeadm-config" in the "kube-system" Namespace
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
[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 #38

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 #39

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 #40

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
f5d54c8514e228a6f95e40430e942692465c67217aa7a1a52ae08a8c0ecab7ff
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
[mark-control-plane] Marking the node controller-01.ekscluster.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 #42

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.ekscluster.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 #43

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
[bootstrap-token] Using token: jupbkm.3qqihqpouvtqoz1g
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
[bootstrap-token] Configuring bootstrap tokens, cluster-info ConfigMap, RBAC Roles
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
[bootstrap-token] Configured RBAC rules to allow Node Bootstrap tokens to get nodes
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
[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 #47

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 #48

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 #49

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 #50

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 #51

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 #52

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 #53

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 #54

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 #55

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 #56

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 #57

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 #58

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 #59

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 #60

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 #61

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 #62

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 #63

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 #64

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 #65

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 #66

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 #67

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 #68

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 #69

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 #70

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 #71

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 #72

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
kubeadm join api.ekscluster.kubeinit.local:6443 --token jupbkm.3qqihqpouvtqoz1g \
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
--discovery-token-ca-cert-hash sha256:ea360cbd6dc7f622c2fdc8dcbf7f79137a87aaa566c58293cb37f666ab8dbee3 \
skip_reason
Conditional result was False
skipped
True



Result #74

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



Result #75

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 #76

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 #77

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 #78

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 #79

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 #80

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 #81

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 #82

Field Value
ansible_loop_var
item
changed
False
false_condition
('--control-plane --certificate-key' in item)
item
kubeadm join api.ekscluster.kubeinit.local:6443 --token jupbkm.3qqihqpouvtqoz1g \
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
--discovery-token-ca-cert-hash sha256:ea360cbd6dc7f622c2fdc8dcbf7f79137a87aaa566c58293cb37f666ab8dbee3
skip_reason
Conditional result was False
skipped
True