1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
| [ec2-user@amazonlinux ~]$ kubectl get all -A -o wide
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
kube-system pod/local-path-provisioner-84bb864455-s8t7f 1/1 Running 0 64m 10.42.0.5 k3d-mycluster-server-0 <none> <none>
kube-system pod/coredns-96cc4f57d-vvmrx 1/1 Running 0 64m 10.42.0.6 k3d-mycluster-server-0 <none> <none>
kube-system pod/helm-install-traefik-crd--1-ghv9f 0/1 Completed 0 64m 10.42.0.4 k3d-mycluster-server-0 <none> <none>
kube-system pod/helm-install-traefik--1-s4ktb 0/1 Completed 1 64m 10.42.0.3 k3d-mycluster-server-0 <none> <none>
kube-system pod/svclb-traefik-9jt5d 2/2 Running 1 (63m ago) 63m 10.42.0.7 k3d-mycluster-server-0 <none> <none>
kube-system pod/metrics-server-ff9dbcb6c-72mwc 1/1 Running 0 64m 10.42.0.2 k3d-mycluster-server-0 <none> <none>
kube-system pod/traefik-56c4b88c4b-f454f 1/1 Running 0 63m 10.42.0.8 k3d-mycluster-server-0 <none> <none>
kube-system pod/svclb-traefik-dvvrp 2/2 Running 1 (13m ago) 14m 10.42.1.2 k3d-worker1-0 <none> <none>
default pod/nginx-6799fc88d8-vgc9x 1/1 Running 0 4m34s 10.42.1.3 k3d-worker1-0 <none> <none>
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR
default service/kubernetes ClusterIP 10.43.0.1 <none> 443/TCP 64m <none>
kube-system service/kube-dns ClusterIP 10.43.0.10 <none> 53/UDP,53/TCP,9153/TCP 64m k8s-app=kube-dns
kube-system service/metrics-server ClusterIP 10.43.88.129 <none> 443/TCP 64m k8s-app=metrics-server
kube-system service/traefik LoadBalancer 10.43.4.2 172.18.0.2,172.18.0.4 80:32037/TCP,443:30484/TCP 63m app.kubernetes.io/instance=traefik,app.kubernetes.io/name=traefik
default service/nginx ClusterIP 10.43.206.223 <none> 80/TCP 4m30s app=nginx
NAMESPACE NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE CONTAINERS IMAGES SELECTOR
kube-system daemonset.apps/svclb-traefik 2 2 2 2 2 <none> 63m lb-port-80,lb-port-443 rancher/klipper-lb:v0.3.4,rancher/klipper-lb:v0.3.4 app=svclb-traefik
NAMESPACE NAME READY UP-TO-DATE AVAILABLE AGE CONTAINERS IMAGES SELECTOR
kube-system deployment.apps/local-path-provisioner 1/1 1 1 64m local-path-provisioner rancher/local-path-provisioner:v0.0.21 app=local-path-provisioner
kube-system deployment.apps/coredns 1/1 1 1 64m coredns rancher/mirrored-coredns-coredns:1.8.6 k8s-app=kube-dns
kube-system deployment.apps/metrics-server 1/1 1 1 64m metrics-server rancher/mirrored-metrics-server:v0.5.2 k8s-app=metrics-server
kube-system deployment.apps/traefik 1/1 1 1 63m traefik rancher/mirrored-library-traefik:2.6.1 app.kubernetes.io/instance=traefik,app.kubernetes.io/name=traefik
default deployment.apps/nginx 1/1 1 1 4m34s nginx nginx app=nginx
NAMESPACE NAME DESIRED CURRENT READY AGE CONTAINERS IMAGES SELECTOR
kube-system replicaset.apps/local-path-provisioner-84bb864455 1 1 1 64m local-path-provisioner rancher/local-path-provisioner:v0.0.21 app=local-path-provisioner,pod-template-hash=84bb864455
kube-system replicaset.apps/coredns-96cc4f57d 1 1 1 64m coredns rancher/mirrored-coredns-coredns:1.8.6 k8s-app=kube-dns,pod-template-hash=96cc4f57d
kube-system replicaset.apps/metrics-server-ff9dbcb6c 1 1 1 64m metrics-server rancher/mirrored-metrics-server:v0.5.2 k8s-app=metrics-server,pod-template-hash=ff9dbcb6c
kube-system replicaset.apps/traefik-56c4b88c4b 1 1 1 63m traefik rancher/mirrored-library-traefik:2.6.1 app.kubernetes.io/instance=traefik,app.kubernetes.io/name=traefik,pod-template-hash=56c4b88c4b
default replicaset.apps/nginx-6799fc88d8 1 1 1 4m34s nginx nginx app=nginx,pod-template-hash=6799fc88d8
NAMESPACE NAME COMPLETIONS DURATION AGE CONTAINERS IMAGES SELECTOR
kube-system job.batch/helm-install-traefik-crd 1/1 52s 64m helm rancher/klipper-helm:v0.6.6-build20211022 controller-uid=1d4ac20d-0436-4d54-9d8b-e37fe7c46e6e
kube-system job.batch/helm-install-traefik 1/1 53s 64m helm rancher/klipper-helm:v0.6.6-build20211022 controller-uid=b51475a5-3fac-4b96-b218-7dd7a094512b
[ec2-user@amazonlinux ~]$ kubectl get ingress
NAME CLASS HOSTS ADDRESS PORTS AGE
nginx <none> * 172.18.0.2,172.18.0.4 80 3m18s
[ec2-user@amazonlinux ~]$ curl 172.18.0.2
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
html { color-scheme: light dark; }
body { width: 35em; margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif; }
</style>
</head>
<body>
<h1>Welcome to nginx!</h1>
<p>If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.</p>
<p>For online documentation and support please refer to
<a href="http://nginx.org/">nginx.org</a>.<br/>
Commercial support is available at
<a href="http://nginx.com/">nginx.com</a>.</p>
<p><em>Thank you for using nginx.</em></p>
</body>
</html>
[ec2-user@amazonlinux ~]$
|