Skip to content

Instantly share code, notes, and snippets.

@whatnick
Created July 27, 2021 00:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whatnick/54ff4e0d7a56af1598414e51a498fdba to your computer and use it in GitHub Desktop.
Save whatnick/54ff4e0d7a56af1598414e51a498fdba to your computer and use it in GitHub Desktop.
First cut of KubeSpray Kubernetes cluster on old-laptops
apiVersion: v1
items:
- apiVersion: v1
kind: Node
metadata:
annotations:
kubeadm.alpha.kubernetes.io/cri-socket: /var/run/dockershim.sock
node.alpha.kubernetes.io/ttl: "0"
projectcalico.org/IPv4Address: 192.168.1.21/24
projectcalico.org/IPv4IPIPTunnelAddr: 10.233.90.0
volumes.kubernetes.io/controller-managed-attach-detach: "true"
creationTimestamp: "2021-07-26T13:30:25Z"
labels:
beta.kubernetes.io/arch: amd64
beta.kubernetes.io/os: linux
kubernetes.io/arch: amd64
kubernetes.io/hostname: node1
kubernetes.io/os: linux
node-role.kubernetes.io/control-plane: ""
node-role.kubernetes.io/master: ""
node.kubernetes.io/exclude-from-external-load-balancers: ""
name: node1
resourceVersion: "13356"
uid: 01e4cd31-0a5f-49f7-9b0f-16b7dbe5859e
spec:
podCIDR: 10.233.64.0/24
podCIDRs:
- 10.233.64.0/24
status:
addresses:
- address: 192.168.1.21
type: InternalIP
- address: node1
type: Hostname
allocatable:
cpu: 1800m
ephemeral-storage: "105370085202"
hugepages-2Mi: "0"
memory: 3403212Ki
pods: "110"
capacity:
cpu: "2"
ephemeral-storage: 114333860Ki
hugepages-2Mi: "0"
memory: 4029900Ki
pods: "110"
conditions:
- lastHeartbeatTime: "2021-07-26T14:59:13Z"
lastTransitionTime: "2021-07-26T14:59:13Z"
message: Calico is running on this node
reason: CalicoIsUp
status: "False"
type: NetworkUnavailable
- lastHeartbeatTime: "2021-07-26T15:44:43Z"
lastTransitionTime: "2021-07-26T14:59:04Z"
message: kubelet has sufficient memory available
reason: KubeletHasSufficientMemory
status: "False"
type: MemoryPressure
- lastHeartbeatTime: "2021-07-26T15:44:43Z"
lastTransitionTime: "2021-07-26T14:59:04Z"
message: kubelet has no disk pressure
reason: KubeletHasNoDiskPressure
status: "False"
type: DiskPressure
- lastHeartbeatTime: "2021-07-26T15:44:43Z"
lastTransitionTime: "2021-07-26T14:59:04Z"
message: kubelet has sufficient PID available
reason: KubeletHasSufficientPID
status: "False"
type: PIDPressure
- lastHeartbeatTime: "2021-07-26T15:44:43Z"
lastTransitionTime: "2021-07-26T14:59:04Z"
message: kubelet is posting ready status. AppArmor enabled
reason: KubeletReady
status: "True"
type: Ready
daemonEndpoints:
kubeletEndpoint:
Port: 10250
images:
- names:
- quay.io/calico/node@sha256:bd65fa94f4416c1b77b66f3b38238e5e5a40f916aa4e500734199f5ee88f98e4
- quay.io/calico/node:v3.18.4
sizeBytes: 160322306
- names:
- nginx@sha256:df13abe416e37eb3db4722840dd479b00ba193ac6606e7902331dcea50f4f1f2
- nginx:1.19
sizeBytes: 133122553
- names:
- quay.io/calico/cni@sha256:38ed6b3341dca2a4e909373926c53ab31112c2e34940f619585acb34e95d0623
- quay.io/calico/cni:v3.18.4
sizeBytes: 131137949
- names:
- k8s.gcr.io/kube-apiserver@sha256:7950be952e1bf5fea24bd8deb79dd871b92d7f2ae02751467670ed9e54fa27c2
- k8s.gcr.io/kube-apiserver:v1.21.3
sizeBytes: 125624733
- names:
- k8s.gcr.io/dns/k8s-dns-node-cache@sha256:3c465863216783b5f0e7c65fa7d8420cbd4eb4b63383a10d5d3c965df623a820
- k8s.gcr.io/dns/k8s-dns-node-cache:1.17.1
sizeBytes: 123047241
- names:
- k8s.gcr.io/kube-controller-manager@sha256:7fb1f6614597c255b475ed8abf553e0d4e8ea211b06a90bed53eaddcfb9c354f
- k8s.gcr.io/kube-controller-manager:v1.21.3
sizeBytes: 119833526
- names:
- k8s.gcr.io/kube-proxy@sha256:c7778d7b97b2a822c3fe3e921d104ac42afbd38268de8df03557465780886627
- k8s.gcr.io/kube-proxy:v1.21.3
sizeBytes: 103317641
- names:
- quay.io/coreos/etcd@sha256:04833b601fa130512450afa45c4fe484fee1293634f34c7ddc231bd193c74017
- quay.io/coreos/etcd:v3.4.13
sizeBytes: 83790470
- names:
- quay.io/calico/kube-controllers@sha256:5388436c43d36d6ca3a6e6bf18a86ec7899b641764c1d3493797930b57cdf7f4
- quay.io/calico/kube-controllers:v3.18.4
sizeBytes: 53395085
- names:
- k8s.gcr.io/kube-scheduler@sha256:65aabc4434c565672db176e0f0e84f0ff5751dc446097f5c0ec3bf5d22bdb6c4
- k8s.gcr.io/kube-scheduler:v1.21.3
sizeBytes: 50639773
- names:
- k8s.gcr.io/coredns/coredns@sha256:cc8fb77bc2a0541949d1d9320a641b82fd392b0d3d8145469ca4709ae769980e
- k8s.gcr.io/coredns/coredns:v1.8.0
sizeBytes: 42454755
- names:
- k8s.gcr.io/cpa/cluster-proportional-autoscaler-amd64@sha256:dce43068853ad396b0fb5ace9a56cc14114e31979e241342d12d04526be1dfcc
- k8s.gcr.io/cpa/cluster-proportional-autoscaler-amd64:1.8.3
sizeBytes: 40647382
- names:
- quay.io/calico/pod2daemon-flexvol@sha256:f6640c71563895f177b5be57e59c70c9824d01081f5e0a65f6c55ecc4525276b
- quay.io/calico/pod2daemon-flexvol:v3.18.4
sizeBytes: 21666928
- names:
- k8s.gcr.io/pause@sha256:6c3835cab3980f11b83277305d0d736051c32b17606f5ec59f1dda67c9ba3810
- k8s.gcr.io/pause:3.4.1
sizeBytes: 682696
- names:
- k8s.gcr.io/pause@sha256:a319ac2280eb7e3a59e252e54b76327cb4a33cf8389053b0d78277f22bbca2fa
- k8s.gcr.io/pause:3.3
sizeBytes: 682696
nodeInfo:
architecture: amd64
bootID: d3fbcba7-6944-4410-80ac-37e231bdf4e7
containerRuntimeVersion: docker://20.10.7
kernelVersion: 5.4.0-65-generic
kubeProxyVersion: v1.21.3
kubeletVersion: v1.21.3
machineID: 9aff883aedb4413f9150a01339ea6b87
operatingSystem: linux
osImage: Ubuntu 20.04.2 LTS
systemUUID: 923281dd-7895-53a8-9400-002215a4c93e
- apiVersion: v1
kind: Node
metadata:
annotations:
kubeadm.alpha.kubernetes.io/cri-socket: /var/run/dockershim.sock
node.alpha.kubernetes.io/ttl: "0"
projectcalico.org/IPv4Address: 192.168.1.22/24
projectcalico.org/IPv4IPIPTunnelAddr: 10.233.96.0
volumes.kubernetes.io/controller-managed-attach-detach: "true"
creationTimestamp: "2021-07-26T13:31:09Z"
labels:
beta.kubernetes.io/arch: amd64
beta.kubernetes.io/os: linux
kubernetes.io/arch: amd64
kubernetes.io/hostname: node2
kubernetes.io/os: linux
node-role.kubernetes.io/control-plane: ""
node-role.kubernetes.io/master: ""
node.kubernetes.io/exclude-from-external-load-balancers: ""
name: node2
resourceVersion: "13367"
uid: 1f9dbda6-b798-4945-a243-1893585ecd8a
spec:
podCIDR: 10.233.65.0/24
podCIDRs:
- 10.233.65.0/24
status:
addresses:
- address: 192.168.1.22
type: InternalIP
- address: node2
type: Hostname
allocatable:
cpu: 7800m
ephemeral-storage: "189274027310"
hugepages-2Mi: "0"
memory: 3393756Ki
pods: "110"
capacity:
cpu: "8"
ephemeral-storage: 205375464Ki
hugepages-2Mi: "0"
memory: 4020444Ki
pods: "110"
conditions:
- lastHeartbeatTime: "2021-07-26T14:55:57Z"
lastTransitionTime: "2021-07-26T14:55:57Z"
message: Calico is running on this node
reason: CalicoIsUp
status: "False"
type: NetworkUnavailable
- lastHeartbeatTime: "2021-07-26T15:44:48Z"
lastTransitionTime: "2021-07-26T13:31:09Z"
message: kubelet has sufficient memory available
reason: KubeletHasSufficientMemory
status: "False"
type: MemoryPressure
- lastHeartbeatTime: "2021-07-26T15:44:48Z"
lastTransitionTime: "2021-07-26T13:31:09Z"
message: kubelet has no disk pressure
reason: KubeletHasNoDiskPressure
status: "False"
type: DiskPressure
- lastHeartbeatTime: "2021-07-26T15:44:48Z"
lastTransitionTime: "2021-07-26T13:31:09Z"
message: kubelet has sufficient PID available
reason: KubeletHasSufficientPID
status: "False"
type: PIDPressure
- lastHeartbeatTime: "2021-07-26T15:44:48Z"
lastTransitionTime: "2021-07-26T14:30:32Z"
message: kubelet is posting ready status. AppArmor enabled
reason: KubeletReady
status: "True"
type: Ready
daemonEndpoints:
kubeletEndpoint:
Port: 10250
images:
- names:
- quay.io/calico/node@sha256:bd65fa94f4416c1b77b66f3b38238e5e5a40f916aa4e500734199f5ee88f98e4
- quay.io/calico/node:v3.18.4
sizeBytes: 160322306
- names:
- nginx@sha256:df13abe416e37eb3db4722840dd479b00ba193ac6606e7902331dcea50f4f1f2
- nginx:1.19
sizeBytes: 133122553
- names:
- quay.io/calico/cni@sha256:38ed6b3341dca2a4e909373926c53ab31112c2e34940f619585acb34e95d0623
- quay.io/calico/cni:v3.18.4
sizeBytes: 131137949
- names:
- k8s.gcr.io/kube-apiserver@sha256:7950be952e1bf5fea24bd8deb79dd871b92d7f2ae02751467670ed9e54fa27c2
- k8s.gcr.io/kube-apiserver:v1.21.3
sizeBytes: 125624733
- names:
- k8s.gcr.io/dns/k8s-dns-node-cache@sha256:3c465863216783b5f0e7c65fa7d8420cbd4eb4b63383a10d5d3c965df623a820
- k8s.gcr.io/dns/k8s-dns-node-cache:1.17.1
sizeBytes: 123047241
- names:
- k8s.gcr.io/kube-controller-manager@sha256:7fb1f6614597c255b475ed8abf553e0d4e8ea211b06a90bed53eaddcfb9c354f
- k8s.gcr.io/kube-controller-manager:v1.21.3
sizeBytes: 119833526
- names:
- k8s.gcr.io/kube-proxy@sha256:c7778d7b97b2a822c3fe3e921d104ac42afbd38268de8df03557465780886627
- k8s.gcr.io/kube-proxy:v1.21.3
sizeBytes: 103317641
- names:
- quay.io/coreos/etcd@sha256:04833b601fa130512450afa45c4fe484fee1293634f34c7ddc231bd193c74017
- quay.io/coreos/etcd:v3.4.13
sizeBytes: 83790470
- names:
- quay.io/calico/kube-controllers@sha256:5388436c43d36d6ca3a6e6bf18a86ec7899b641764c1d3493797930b57cdf7f4
- quay.io/calico/kube-controllers:v3.18.4
sizeBytes: 53395085
- names:
- k8s.gcr.io/kube-scheduler@sha256:65aabc4434c565672db176e0f0e84f0ff5751dc446097f5c0ec3bf5d22bdb6c4
- k8s.gcr.io/kube-scheduler:v1.21.3
sizeBytes: 50639773
- names:
- k8s.gcr.io/coredns/coredns@sha256:cc8fb77bc2a0541949d1d9320a641b82fd392b0d3d8145469ca4709ae769980e
- k8s.gcr.io/coredns/coredns:v1.8.0
sizeBytes: 42454755
- names:
- k8s.gcr.io/cpa/cluster-proportional-autoscaler-amd64@sha256:dce43068853ad396b0fb5ace9a56cc14114e31979e241342d12d04526be1dfcc
- k8s.gcr.io/cpa/cluster-proportional-autoscaler-amd64:1.8.3
sizeBytes: 40647382
- names:
- quay.io/calico/pod2daemon-flexvol@sha256:f6640c71563895f177b5be57e59c70c9824d01081f5e0a65f6c55ecc4525276b
- quay.io/calico/pod2daemon-flexvol:v3.18.4
sizeBytes: 21666928
- names:
- k8s.gcr.io/pause@sha256:6c3835cab3980f11b83277305d0d736051c32b17606f5ec59f1dda67c9ba3810
- k8s.gcr.io/pause:3.4.1
sizeBytes: 682696
- names:
- k8s.gcr.io/pause@sha256:a319ac2280eb7e3a59e252e54b76327cb4a33cf8389053b0d78277f22bbca2fa
- k8s.gcr.io/pause:3.3
sizeBytes: 682696
nodeInfo:
architecture: amd64
bootID: b6d33ba8-a127-4513-9015-ada9e2ba2595
containerRuntimeVersion: docker://20.10.7
kernelVersion: 5.4.0-65-generic
kubeProxyVersion: v1.21.3
kubeletVersion: v1.21.3
machineID: a2cb7b2d091c4effb22b10456fe1afb6
operatingSystem: linux
osImage: Ubuntu 20.04.2 LTS
systemUUID: 30464e43-3130-4846-4737-00269edeed49
- apiVersion: v1
kind: Node
metadata:
annotations:
kubeadm.alpha.kubernetes.io/cri-socket: /var/run/dockershim.sock
node.alpha.kubernetes.io/ttl: "0"
projectcalico.org/IPv4Address: 192.168.1.23/24
projectcalico.org/IPv4IPIPTunnelAddr: 10.233.92.0
volumes.kubernetes.io/controller-managed-attach-detach: "true"
creationTimestamp: "2021-07-26T13:32:49Z"
labels:
beta.kubernetes.io/arch: amd64
beta.kubernetes.io/os: linux
kubernetes.io/arch: amd64
kubernetes.io/hostname: node3
kubernetes.io/os: linux
name: node3
resourceVersion: "13359"
uid: df5793b6-0ea2-4b7c-9a62-e894cdfe9522
spec:
podCIDR: 10.233.66.0/24
podCIDRs:
- 10.233.66.0/24
status:
addresses:
- address: 192.168.1.23
type: InternalIP
- address: node3
type: Hostname
allocatable:
cpu: 7900m
ephemeral-storage: "109799571275"
hugepages-2Mi: "0"
memory: 7694124Ki
pods: "110"
capacity:
cpu: "8"
ephemeral-storage: 119140160Ki
hugepages-2Mi: "0"
memory: 8058668Ki
pods: "110"
conditions:
- lastHeartbeatTime: "2021-07-26T14:30:45Z"
lastTransitionTime: "2021-07-26T14:30:45Z"
message: Calico is running on this node
reason: CalicoIsUp
status: "False"
type: NetworkUnavailable
- lastHeartbeatTime: "2021-07-26T15:44:44Z"
lastTransitionTime: "2021-07-26T14:59:04Z"
message: kubelet has sufficient memory available
reason: KubeletHasSufficientMemory
status: "False"
type: MemoryPressure
- lastHeartbeatTime: "2021-07-26T15:44:44Z"
lastTransitionTime: "2021-07-26T14:59:04Z"
message: kubelet has no disk pressure
reason: KubeletHasNoDiskPressure
status: "False"
type: DiskPressure
- lastHeartbeatTime: "2021-07-26T15:44:44Z"
lastTransitionTime: "2021-07-26T14:59:04Z"
message: kubelet has sufficient PID available
reason: KubeletHasSufficientPID
status: "False"
type: PIDPressure
- lastHeartbeatTime: "2021-07-26T15:44:44Z"
lastTransitionTime: "2021-07-26T14:59:04Z"
message: kubelet is posting ready status. AppArmor enabled
reason: KubeletReady
status: "True"
type: Ready
daemonEndpoints:
kubeletEndpoint:
Port: 10250
images:
- names:
- quay.io/calico/node@sha256:bd65fa94f4416c1b77b66f3b38238e5e5a40f916aa4e500734199f5ee88f98e4
- quay.io/calico/node:v3.18.4
sizeBytes: 160322306
- names:
- nginx@sha256:df13abe416e37eb3db4722840dd479b00ba193ac6606e7902331dcea50f4f1f2
- nginx:1.19
sizeBytes: 133122553
- names:
- quay.io/calico/cni@sha256:38ed6b3341dca2a4e909373926c53ab31112c2e34940f619585acb34e95d0623
- quay.io/calico/cni:v3.18.4
sizeBytes: 131137949
- names:
- k8s.gcr.io/kube-apiserver@sha256:7950be952e1bf5fea24bd8deb79dd871b92d7f2ae02751467670ed9e54fa27c2
- k8s.gcr.io/kube-apiserver:v1.21.3
sizeBytes: 125624733
- names:
- k8s.gcr.io/dns/k8s-dns-node-cache@sha256:3c465863216783b5f0e7c65fa7d8420cbd4eb4b63383a10d5d3c965df623a820
- k8s.gcr.io/dns/k8s-dns-node-cache:1.17.1
sizeBytes: 123047241
- names:
- k8s.gcr.io/kube-controller-manager@sha256:7fb1f6614597c255b475ed8abf553e0d4e8ea211b06a90bed53eaddcfb9c354f
- k8s.gcr.io/kube-controller-manager:v1.21.3
sizeBytes: 119833526
- names:
- k8s.gcr.io/kube-proxy@sha256:c7778d7b97b2a822c3fe3e921d104ac42afbd38268de8df03557465780886627
- k8s.gcr.io/kube-proxy:v1.21.3
sizeBytes: 103317641
- names:
- quay.io/coreos/etcd@sha256:04833b601fa130512450afa45c4fe484fee1293634f34c7ddc231bd193c74017
- quay.io/coreos/etcd:v3.4.13
sizeBytes: 83790470
- names:
- quay.io/calico/kube-controllers@sha256:5388436c43d36d6ca3a6e6bf18a86ec7899b641764c1d3493797930b57cdf7f4
- quay.io/calico/kube-controllers:v3.18.4
sizeBytes: 53395085
- names:
- k8s.gcr.io/kube-scheduler@sha256:65aabc4434c565672db176e0f0e84f0ff5751dc446097f5c0ec3bf5d22bdb6c4
- k8s.gcr.io/kube-scheduler:v1.21.3
sizeBytes: 50639773
- names:
- quay.io/calico/pod2daemon-flexvol@sha256:f6640c71563895f177b5be57e59c70c9824d01081f5e0a65f6c55ecc4525276b
- quay.io/calico/pod2daemon-flexvol:v3.18.4
sizeBytes: 21666928
- names:
- k8s.gcr.io/pause@sha256:a319ac2280eb7e3a59e252e54b76327cb4a33cf8389053b0d78277f22bbca2fa
- k8s.gcr.io/pause:3.3
sizeBytes: 682696
nodeInfo:
architecture: amd64
bootID: d65ffd2e-9b3b-45e7-a4e7-25362ae62aa1
containerRuntimeVersion: docker://20.10.7
kernelVersion: 5.4.0-65-generic
kubeProxyVersion: v1.21.3
kubeletVersion: v1.21.3
machineID: 5000463ec40544829808d21d729500a5
operatingSystem: linux
osImage: Ubuntu 20.04.2 LTS
systemUUID: c7d31e80-cb7c-81e0-28e8-14dae9c285ef
kind: List
metadata:
resourceVersion: ""
selfLink: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment