adamant-kite-43734
12/14/2023, 4:14 PMcreamy-pencil-82913
12/14/2023, 7:13 PMcreamy-pencil-82913
12/14/2023, 7:14 PMorange-thailand-31683
12/14/2023, 7:14 PMcreamy-pencil-82913
12/14/2023, 7:15 PMcreamy-pencil-82913
12/14/2023, 7:15 PMorange-thailand-31683
12/14/2023, 7:15 PMcreamy-pencil-82913
12/14/2023, 7:15 PMorange-thailand-31683
12/14/2023, 7:15 PMorange-thailand-31683
12/14/2023, 7:16 PMcreamy-pencil-82913
12/14/2023, 7:16 PMorange-thailand-31683
12/14/2023, 7:16 PMorange-thailand-31683
12/14/2023, 7:17 PMcreamy-pencil-82913
12/14/2023, 7:17 PMorange-thailand-31683
12/14/2023, 7:18 PMorange-thailand-31683
12/14/2023, 7:19 PMcurl: (7) Failed to connect to URL port 80: Connection refusedcreamy-pencil-82913
12/14/2023, 7:20 PMorange-thailand-31683
12/14/2023, 7:20 PMorange-thailand-31683
12/14/2023, 7:20 PMcreamy-pencil-82913
12/14/2023, 7:20 PMorange-thailand-31683
12/14/2023, 7:21 PMkubectl get servicescreamy-pencil-82913
12/14/2023, 7:21 PMkubectl get pod -Acreamy-pencil-82913
12/14/2023, 7:21 PMorange-thailand-31683
12/14/2023, 7:21 PMrke2-ingress-nginx-controllerorange-thailand-31683
12/14/2023, 7:22 PMorange-thailand-31683
12/14/2023, 7:28 PMcreamy-pencil-82913
12/14/2023, 7:29 PMorange-thailand-31683
12/14/2023, 7:30 PMorange-thailand-31683
12/14/2023, 7:30 PMcreamy-pencil-82913
12/14/2023, 7:30 PMcreamy-pencil-82913
12/14/2023, 7:31 PMcreamy-pencil-82913
12/14/2023, 7:31 PMorange-thailand-31683
12/14/2023, 7:31 PMingressvalues.yamlcreamy-pencil-82913
12/14/2023, 7:32 PMorange-thailand-31683
12/14/2023, 7:33 PMcreamy-pencil-82913
12/14/2023, 7:33 PMcreamy-pencil-82913
12/14/2023, 7:33 PMorange-thailand-31683
12/14/2023, 7:34 PMingressvalues.yamlingresscreamy-pencil-82913
12/14/2023, 7:34 PMorange-thailand-31683
12/14/2023, 7:35 PMingress:
  enabled: true
  className: ""
  annotations:
    <http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: nginx
    # <http://kubernetes.io/tls-acme|kubernetes.io/tls-acme>: "true"
  hosts:
    - host: projectHostName
      paths:
        - path: /mysticportal
          pathType: ImplementationSpecific
  tls: []
  #  - secretName: chart-example-tls
  #    hosts:
  #      - chart-example.localcreamy-pencil-82913
12/14/2023, 7:35 PMcreamy-pencil-82913
12/14/2023, 7:36 PMorange-thailand-31683
12/14/2023, 7:36 PM/orange-thailand-31683
12/14/2023, 7:37 PMcreamy-pencil-82913
12/14/2023, 7:37 PMcreamy-pencil-82913
12/14/2023, 7:38 PMcreamy-pencil-82913
12/14/2023, 7:39 PMcreamy-pencil-82913
12/14/2023, 7:40 PMorange-thailand-31683
12/14/2023, 7:41 PMorange-thailand-31683
12/14/2023, 7:56 PMorange-thailand-31683
12/14/2023, 8:29 PMkubectl create -f nginx/mproute.yaml<http://hostname/mysticportal>orange-thailand-31683
12/14/2023, 8:30 PMorange-thailand-31683
12/14/2023, 8:31 PMapiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>
kind: Ingress
metadata:
  name: mysticportal-route
  annotations:
    <http://ingress.kubernetes.io/rewrite-target|ingress.kubernetes.io/rewrite-target>: /
spec:
  rules:
  - host: hostNameOfProject
    http:
      paths:
      - path: /mysticportal
        pathType: ImplementationSpecific
        backend:
          service:
            name: mysticportal-service
            port:
              number: 4200orange-thailand-31683
12/14/2023, 8:31 PMorange-thailand-31683
12/14/2023, 8:35 PM[jlong@vm-jlong helm]$ curl -kL <http://hostNameOfProject/mysticportal>
curl: (7) Failed to connect to hostNameOfProject port 80: Connection refusedorange-thailand-31683
12/14/2023, 8:41 PMnetstat -plant | grep 80creamy-pencil-82913
12/14/2023, 8:50 PMafter creating the resource, is there a way that the ingress controller automatically finds it?watching for changes to resources, and reacting to those changes, is specifically what controllers do. You do not need to restart anything
creamy-pencil-82913
12/14/2023, 8:53 PMcreamy-pencil-82913
12/14/2023, 8:54 PMorange-thailand-31683
12/14/2023, 8:54 PMorange-thailand-31683
12/14/2023, 8:55 PMcreamy-pencil-82913
12/14/2023, 8:55 PMcurl -vs <http://x.x.x.x>creamy-pencil-82913
12/14/2023, 8:55 PMorange-thailand-31683
12/14/2023, 8:57 PMorange-thailand-31683
12/14/2023, 8:57 PMorange-thailand-31683
12/14/2023, 8:58 PMorange-thailand-31683
12/14/2023, 9:02 PMorange-thailand-31683
12/14/2023, 9:09 PMkubectl get servicesrke2-ingress-nginx-controllerorange-thailand-31683
12/14/2023, 9:09 PMorange-thailand-31683
12/14/2023, 9:14 PMcreamy-pencil-82913
12/14/2023, 9:46 PMcreamy-pencil-82913
12/14/2023, 9:47 PMcreamy-pencil-82913
12/14/2023, 9:47 PMorange-thailand-31683
12/14/2023, 9:49 PMcreamy-pencil-82913
12/14/2023, 9:50 PMcreamy-pencil-82913
12/14/2023, 9:50 PMcreamy-pencil-82913
12/14/2023, 9:50 PMorange-thailand-31683
12/14/2023, 9:51 PMorange-thailand-31683
12/14/2023, 9:52 PMcreamy-pencil-82913
12/14/2023, 9:57 PMcreamy-pencil-82913
12/14/2023, 9:57 PMorange-thailand-31683
12/14/2023, 9:58 PMcreamy-pencil-82913
12/14/2023, 9:58 PMkubectl describe pod -n kube-system POD-NAME-HEREorange-thailand-31683
12/14/2023, 9:59 PMcreamy-pencil-82913
12/14/2023, 10:00 PMorange-thailand-31683
12/14/2023, 10:10 PMorange-thailand-31683
12/15/2023, 7:43 PMrke2-ingress-nginx-controllerNodePortClusterIPEXTERNAL-IPtargetPortfirewalldcurl <http://localhost>apiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>
kind: Ingress
metadata:
  name: api-route
  annotations: {}
spec:
  rules:
   - host: <http://mrtkub.corp.domain.com|mrtkub.corp.domain.com>
     http:
      paths:
      - path: /api
        pathType: Prefix
        backend:
          service:
            name: api-service
            port:
              number: 8080<http://mrtkub.corp.domain.com/api>creamy-pencil-82913
12/15/2023, 8:02 PMcreamy-pencil-82913
12/15/2023, 8:02 PMbrandond@dev01:~$ kubectl get node -o wide
NAME            STATUS   ROLES                       AGE     VERSION          INTERNAL-IP   EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION   CONTAINER-RUNTIME
rke2-server-1   Ready    control-plane,etcd,master   3m36s   v1.28.4+rke2r1   172.17.0.7    <none>        Ubuntu 22.04.3 LTS   6.2.0-1014-aws   <containerd://1.7.7-k3s1>
brandond@dev01:~$ kubectl get pod -A -o wide
NAMESPACE     NAME                                                   READY   STATUS      RESTARTS   AGE     IP           NODE            NOMINATED NODE   READINESS GATES
kube-system   cloud-controller-manager-rke2-server-1                 1/1     Running     0          3m38s   172.17.0.7   rke2-server-1   <none>           <none>
kube-system   etcd-rke2-server-1                                     1/1     Running     0          3m12s   172.17.0.7   rke2-server-1   <none>           <none>
kube-system   helm-install-rke2-canal-42ldl                          0/1     Completed   0          3m25s   172.17.0.7   rke2-server-1   <none>           <none>
kube-system   helm-install-rke2-coredns-hflgs                        0/1     Completed   0          3m25s   172.17.0.7   rke2-server-1   <none>           <none>
kube-system   helm-install-rke2-ingress-nginx-q84tw                  0/1     Completed   0          3m25s   10.42.0.10   rke2-server-1   <none>           <none>
kube-system   helm-install-rke2-metrics-server-6747c                 0/1     Completed   0          3m25s   10.42.0.4    rke2-server-1   <none>           <none>
kube-system   helm-install-rke2-snapshot-controller-6lb56            0/1     Completed   2          3m25s   10.42.0.5    rke2-server-1   <none>           <none>
kube-system   helm-install-rke2-snapshot-controller-crd-j59d9        0/1     Completed   0          3m25s   10.42.0.9    rke2-server-1   <none>           <none>
kube-system   helm-install-rke2-snapshot-validation-webhook-2v9bd    0/1     Completed   0          3m25s   10.42.0.2    rke2-server-1   <none>           <none>
kube-system   kube-apiserver-rke2-server-1                           1/1     Running     0          3m37s   172.17.0.7   rke2-server-1   <none>           <none>
kube-system   kube-controller-manager-rke2-server-1                  1/1     Running     0          3m39s   172.17.0.7   rke2-server-1   <none>           <none>
kube-system   kube-proxy-rke2-server-1                               1/1     Running     0          3m33s   172.17.0.7   rke2-server-1   <none>           <none>
kube-system   kube-scheduler-rke2-server-1                           1/1     Running     0          3m39s   172.17.0.7   rke2-server-1   <none>           <none>
kube-system   rke2-canal-b77wv                                       2/2     Running     0          3m19s   172.17.0.7   rke2-server-1   <none>           <none>
kube-system   rke2-coredns-rke2-coredns-6b795db654-pjns5             1/1     Running     0          3m19s   10.42.0.7    rke2-server-1   <none>           <none>
kube-system   rke2-coredns-rke2-coredns-autoscaler-945fbd459-d5tfc   1/1     Running     0          3m19s   10.42.0.3    rke2-server-1   <none>           <none>
kube-system   rke2-ingress-nginx-controller-gzwjj                    1/1     Running     0          2m39s   10.42.0.12   rke2-server-1   <none>           <none>
kube-system   rke2-metrics-server-544c8c66fc-jmtqr                   1/1     Running     0          2m50s   10.42.0.8    rke2-server-1   <none>           <none>
kube-system   rke2-snapshot-controller-59cc9cd8f4-czq2h              1/1     Running     0          2m32s   10.42.0.14   rke2-server-1   <none>           <none>
kube-system   rke2-snapshot-validation-webhook-54c5989b65-79sv8      1/1     Running     0          2m52s   10.42.0.6    rke2-server-1   <none>           <none>
brandond@dev01:~$ kubectl describe pod -n kube-system rke2-ingress-nginx-controller-gzwjj
Name:         rke2-ingress-nginx-controller-gzwjj
Namespace:    kube-system
Priority:     0
Node:         rke2-server-1/172.17.0.7
Start Time:   Fri, 15 Dec 2023 19:58:53 +0000
Labels:       <http://app.kubernetes.io/component=controller|app.kubernetes.io/component=controller>
              <http://app.kubernetes.io/instance=rke2-ingress-nginx|app.kubernetes.io/instance=rke2-ingress-nginx>
              <http://app.kubernetes.io/managed-by=Helm|app.kubernetes.io/managed-by=Helm>
              <http://app.kubernetes.io/name=rke2-ingress-nginx|app.kubernetes.io/name=rke2-ingress-nginx>
              <http://app.kubernetes.io/part-of=rke2-ingress-nginx|app.kubernetes.io/part-of=rke2-ingress-nginx>
              <http://app.kubernetes.io/version=1.9.3|app.kubernetes.io/version=1.9.3>
              controller-revision-hash=775748958d
              <http://helm.sh/chart=rke2-ingress-nginx-4.8.200|helm.sh/chart=rke2-ingress-nginx-4.8.200>
              pod-template-generation=1
Annotations:  <http://cni.projectcalico.org/containerID|cni.projectcalico.org/containerID>: 1d4e845a6670d754f2f81ab0f5ae6a56a61089e2e3ee928a0d37ea2688b35d33
              <http://cni.projectcalico.org/podIP|cni.projectcalico.org/podIP>: 10.42.0.12/32
              <http://cni.projectcalico.org/podIPs|cni.projectcalico.org/podIPs>: 10.42.0.12/32
Status:       Running
IP:           10.42.0.12
IPs:
  IP:           10.42.0.12
Controlled By:  DaemonSet/rke2-ingress-nginx-controller
Containers:
  rke2-ingress-nginx-controller:
    Container ID:  <containerd://f441d1b80847e01f09cff9850e29dd2561107e4bd4e5e612db5a6c13680bd5f>5
    Image:         rancher/nginx-ingress-controller:nginx-1.9.3-hardened1
    Image ID:      <http://docker.io/rancher/nginx-ingress-controller@sha256:40b389fcbfc019e1adf2e6aa9b1a75235455a2e78fcec3261f867064afd801cb|docker.io/rancher/nginx-ingress-controller@sha256:40b389fcbfc019e1adf2e6aa9b1a75235455a2e78fcec3261f867064afd801cb>
    Ports:         80/TCP, 443/TCP, 8443/TCP
    Host Ports:    80/TCP, 443/TCP, 0/TCP
    Args:
      /nginx-ingress-controller
      --election-id=rke2-ingress-nginx-leader
      --controller-class=<http://k8s.io/ingress-nginx|k8s.io/ingress-nginx>
      --ingress-class=nginx
      --configmap=$(POD_NAMESPACE)/rke2-ingress-nginx-controller
      --validating-webhook=:8443
      --validating-webhook-certificate=/usr/local/certificates/cert
      --validating-webhook-key=/usr/local/certificates/key
      --watch-ingress-without-class=true
    State:          Running
      Started:      Fri, 15 Dec 2023 19:59:08 +0000
    Ready:          True
    Restart Count:  0
    Requests:
      cpu:      100m
      memory:   90Mi
    Liveness:   http-get http://:10254/healthz delay=10s timeout=1s period=10s #success=1 #failure=5
    Readiness:  http-get http://:10254/healthz delay=10s timeout=1s period=10s #success=1 #failure=3
    Environment:
      POD_NAME:       rke2-ingress-nginx-controller-gzwjj (v1:metadata.name)
      POD_NAMESPACE:  kube-system (v1:metadata.namespace)
      LD_PRELOAD:     /usr/local/lib/libmimalloc.so
    Mounts:
      /usr/local/certificates/ from webhook-cert (ro)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-8mvk9 (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             True
  ContainersReady   True
  PodScheduled      True
Volumes:
  webhook-cert:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  rke2-ingress-nginx-admission
    Optional:    false
  kube-api-access-8mvk9:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   Burstable
Node-Selectors:              <http://kubernetes.io/os=linux|kubernetes.io/os=linux>
Tolerations:                 <http://node.kubernetes.io/disk-pressure:NoSchedule|node.kubernetes.io/disk-pressure:NoSchedule> op=Exists
                             <http://node.kubernetes.io/memory-pressure:NoSchedule|node.kubernetes.io/memory-pressure:NoSchedule> op=Exists
                             <http://node.kubernetes.io/not-ready:NoExecute|node.kubernetes.io/not-ready:NoExecute> op=Exists
                             <http://node.kubernetes.io/pid-pressure:NoSchedule|node.kubernetes.io/pid-pressure:NoSchedule> op=Exists
                             <http://node.kubernetes.io/unreachable:NoExecute|node.kubernetes.io/unreachable:NoExecute> op=Exists
                             <http://node.kubernetes.io/unschedulable:NoSchedule|node.kubernetes.io/unschedulable:NoSchedule> op=Exists
Events:
  Type    Reason     Age    From                      Message
  ----    ------     ----   ----                      -------
  Normal  Scheduled  2m43s  default-scheduler         Successfully assigned kube-system/rke2-ingress-nginx-controller-gzwjj to rke2-server-1
  Normal  Pulling    2m43s  kubelet                   Pulling image "rancher/nginx-ingress-controller:nginx-1.9.3-hardened1"
  Normal  Pulled     2m28s  kubelet                   Successfully pulled image "rancher/nginx-ingress-controller:nginx-1.9.3-hardened1" in 14.648s (14.648s including waiting)
  Normal  Created    2m28s  kubelet                   Created container rke2-ingress-nginx-controller
  Normal  Started    2m28s  kubelet                   Started container rke2-ingress-nginx-controller
  Normal  RELOAD     2m26s  nginx-ingress-controller  NGINX reload triggered due to a change in configuration
brandond@dev01:~$ curl -vs <http://172.17.0.7>
*   Trying 172.17.0.7:80...
* Connected to 172.17.0.7 (172.17.0.7) port 80 (#0)
> GET / HTTP/1.1
> Host: 172.17.0.7
> User-Agent: curl/7.86.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Date: Fri, 15 Dec 2023 20:01:52 GMT
< Content-Type: text/html
< Content-Length: 146
< Connection: keep-alive
<
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
* Connection #0 to host 172.17.0.7 left intactcreamy-pencil-82913
12/15/2023, 8:03 PMContainers:
  rke2-ingress-nginx-controller:
    Container ID:  <containerd://f441d1b80847e01f09cff9850e29dd2561107e4bd4e5e612db5a6c13680bd5f>5
    Image:         rancher/nginx-ingress-controller:nginx-1.9.3-hardened1
    Image ID:      <http://docker.io/rancher/nginx-ingress-controller@sha256:40b389fcbfc019e1adf2e6aa9b1a75235455a2e78fcec3261f867064afd801cb|docker.io/rancher/nginx-ingress-controller@sha256:40b389fcbfc019e1adf2e6aa9b1a75235455a2e78fcec3261f867064afd801cb>
    Ports:         80/TCP, 443/TCP, 8443/TCP
    Host Ports:    80/TCP, 443/TCP, 0/TCPcreamy-pencil-82913
12/15/2023, 8:04 PMorange-thailand-31683
12/15/2023, 8:06 PMContainers:
  rke2-ingress-nginx-controller:
    Container ID:  <containerd://9c344d6e8847dd78525286e786b6bbdbacd492757fab65449e81089c92bfdde>f
    Image:         rancher/nginx-ingress-controller:nginx-1.9.3-hardened1
    Image ID:      <http://docker.io/rancher/nginx-ingress-controller@sha256:40b389fcbfc019e1adf2e6aa9b1a75235455a2e78fcec3261f867064afd801cb|docker.io/rancher/nginx-ingress-controller@sha256:40b389fcbfc019e1adf2e6aa9b1a75235455a2e78fcec3261f867064afd801cb>
    Ports:         80/TCP, 443/TCP, 8443/TCP
    Host Ports:    80/TCP, 443/TCP, 0/TCPorange-thailand-31683
12/15/2023, 8:06 PM[jlong@vm-jlong nginx]$ sudo kubectl get node -o wide
[sudo] password for jlong: 
NAME                       STATUS   ROLES                       AGE   VERSION           INTERNAL-IP   EXTERNAL-IP   OS-IMAGE                               KERNEL-VERSION                 CONTAINER-RUNTIME
<http://mrtkub.corp.domain.com|mrtkub.corp.domain.com>   Ready    control-plane,etcd,master   16d   v1.26.10+rke2r2   10.1.2.216    <none>        Red Hat Enterprise Linux 8.8 (Ootpa)   4.18.0-477.27.1.el8_8.x86_64   <containerd://1.7.7-k3s1>orange-thailand-31683
12/15/2023, 8:07 PM[jlong@vm-jlong nginx]$ curl -vs <http://10.1.2.216>
* Rebuilt URL to: <http://10.1.2.216/>
*   Trying 10.1.2.216...
* TCP_NODELAY set
* connect to 10.1.2.216 port 80 failed: Connection refused
* Failed to connect to 10.1.2.216 port 80: Connection refused
* Closing connection 0orange-thailand-31683
12/15/2023, 8:08 PMcreamy-pencil-82913
12/15/2023, 8:08 PMorange-thailand-31683
12/15/2023, 8:08 PMorange-thailand-31683
12/15/2023, 8:09 PM[jlong@mrtkub charts]$ curl -vs <http://10.1.2.216>
* Rebuilt URL to: <http://10.1.2.216/>
*   Trying 10.1.2.216...
* TCP_NODELAY set
* connect to 10.1.2.216 port 80 failed: Connection refused
* Failed to connect to 10.1.2.216 port 80: Connection refused
* Closing connection 0orange-thailand-31683
12/15/2023, 8:09 PMcreamy-pencil-82913
12/15/2023, 8:09 PMcreamy-pencil-82913
12/15/2023, 8:09 PMcreamy-pencil-82913
12/15/2023, 8:10 PMcreamy-pencil-82913
12/15/2023, 8:10 PMkubectl get netpol -Aorange-thailand-31683
12/15/2023, 8:11 PM[jlong@mrtkub charts]$ kubectl get netpol -A
NAMESPACE             NAME                POD-SELECTOR   AGE
cattle-fleet-system   default-allow-all   <none>         11dcreamy-pencil-82913
12/15/2023, 8:11 PMcreamy-pencil-82913
12/15/2023, 8:12 PMorange-thailand-31683
12/15/2023, 8:12 PMiptables --listorange-thailand-31683
12/15/2023, 8:13 PMChain KUBE-EXTERNAL-SERVICES (2 references)
target     prot opt source               destination         
Chain KUBE-NODEPORTS (1 references)
target     prot opt source               destination         
Chain KUBE-SERVICES (2 references)
target     prot opt source               destination         
REJECT     tcp  --  anywhere             10.43.76.21          /* cattle-system/cattle-cluster-agent:https-internal has no endpoints */ reject-with icmp-port-unreachable
REJECT     tcp  --  anywhere             10.43.76.21          /* cattle-system/cattle-cluster-agent:http has no endpoints */ reject-with icmp-port-unreachable
Chain KUBE-FORWARD (1 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere             ctstate INVALID
ACCEPT     all  --  anywhere             anywhere             /* kubernetes forwarding rules */
ACCEPT     all  --  anywhere             anywhere             /* kubernetes forwarding conntrack rule */ ctstate RELATED,ESTABLISHED
Chain KUBE-PROXY-FIREWALL (3 references)
target     prot opt source               destination         
Chain KUBE-PROXY-CANARY (0 references)
target     prot opt source               destination         
Chain KUBE-FIREWALL (2 references)
target     prot opt source               destination         
DROP       all  -- !127.0.0.0/8          127.0.0.0/8          /* block incoming localnet connections */ ! ctstate RELATED,ESTABLISHED,DNAT
DROP       all  --  anywhere             anywhere             /* kubernetes firewall for dropping marked packets */ mark match 0x8000/0x8000
Chain KUBE-KUBELET-CANARY (0 references)
target     prot opt source               destinationorange-thailand-31683
12/15/2023, 8:13 PMorange-thailand-31683
12/15/2023, 8:14 PMChain INPUT (policy ACCEPT)
target     prot opt source               destination         
cali-INPUT  all  --  anywhere             anywhere             /* cali:Cz_u1IQiXIMmKD4c */
KUBE-FIREWALL  all  --  anywhere             anywhere            
KUBE-PROXY-FIREWALL  all  --  anywhere             anywhere             ctstate NEW /* kubernetes load balancer firewall */
KUBE-NODEPORTS  all  --  anywhere             anywhere             /* kubernetes health check service ports */
KUBE-EXTERNAL-SERVICES  all  --  anywhere             anywhere             ctstate NEW /* kubernetes externally-visible service portals */
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
cali-FORWARD  all  --  anywhere             anywhere             /* cali:wUHhoiAYhphO9Mso */
KUBE-PROXY-FIREWALL  all  --  anywhere             anywhere             ctstate NEW /* kubernetes load balancer firewall */
KUBE-FORWARD  all  --  anywhere             anywhere             /* kubernetes forwarding rules */
KUBE-SERVICES  all  --  anywhere             anywhere             ctstate NEW /* kubernetes service portals */
KUBE-EXTERNAL-SERVICES  all  --  anywhere             anywhere             ctstate NEW /* kubernetes externally-visible service portals */
FLANNEL-FWD  all  --  anywhere             anywhere             /* flanneld forward */
ACCEPT     all  --  anywhere             anywhere             /* cali:S93hcgKJrXEqnTfs */ /* Policy explicitly accepted packet. */ mark match 0x10000/0x10000
MARK       all  --  anywhere             anywhere             /* cali:mp77cMpurHhyjLrM */ MARK or 0x10000
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
cali-OUTPUT  all  --  anywhere             anywhere             /* cali:tVnHkvAo15HuiPy0 */
KUBE-FIREWALL  all  --  anywhere             anywhere            
KUBE-PROXY-FIREWALL  all  --  anywhere             anywhere             ctstate NEW /* kubernetes load balancer firewall */
KUBE-SERVICES  all  --  anywhere             anywhere             ctstate NEW /* kubernetes service portals */orange-thailand-31683
12/15/2023, 8:14 PMcreamy-pencil-82913
12/15/2023, 8:16 PMiptables-save | grep CNI-HOSTPORTorange-thailand-31683
12/15/2023, 8:16 PMcreamy-pencil-82913
12/15/2023, 8:16 PMcreamy-pencil-82913
12/15/2023, 8:17 PMorange-thailand-31683
12/15/2023, 8:19 PMorange-thailand-31683
12/15/2023, 8:19 PM[jlong@mrtkub charts]$ sudo iptables-save | grep PORT
:KUBE-NODEPORTS - [0:0]
-A KUBE-SERVICES -m comment --comment "kubernetes service nodeports; NOTE: this must be the last rule in this chain" -m addrtype --dst-type LOCAL -j KUBE-NODEPORTS
-A KUBE-NODEPORTS -p tcp -m comment --comment "default/frontend-service:http" -j KUBE-EXT-C33WELXONXR5N5TG
-A KUBE-NODEPORTS -p tcp -m comment --comment "default/frontend-service-testonly" -j KUBE-EXT-SN7IDGDQA3JDNQKQ
:KUBE-NODEPORTS - [0:0]
-A INPUT -m comment --comment "kubernetes health check service ports" -j KUBE-NODEPORTScreamy-pencil-82913
12/15/2023, 8:34 PMorange-thailand-31683
12/15/2023, 8:37 PMcreamy-pencil-82913
12/15/2023, 8:38 PMorange-thailand-31683
12/15/2023, 8:38 PMiptables-save | grep CNIcreamy-pencil-82913
12/15/2023, 8:39 PMroot@rke2-server-1:/# kubectl get pod -A -o wide
NAMESPACE         NAME                                                   READY   STATUS      RESTARTS   AGE     IP             NODE            NOMINATED NODE   READINESS GATES
calico-system     calico-kube-controllers-854bdcbfb-dc6r6                1/1     Running     0          2m6s    10.42.241.71   rke2-server-1   <none>           <none>
calico-system     calico-node-d9hnj                                      1/1     Running     0          2m6s    172.17.0.7     rke2-server-1   <none>           <none>
calico-system     calico-typha-6b4965c695-qk2f8                          1/1     Running     0          2m6s    172.17.0.7     rke2-server-1   <none>           <none>
kube-system       cloud-controller-manager-rke2-server-1                 1/1     Running     0          2m33s   172.17.0.7     rke2-server-1   <none>           <none>
kube-system       etcd-rke2-server-1                                     1/1     Running     0          119s    172.17.0.7     rke2-server-1   <none>           <none>
kube-system       helm-install-rke2-calico-crd-zhlqj                     0/1     Completed   0          2m21s   172.17.0.7     rke2-server-1   <none>           <none>
kube-system       helm-install-rke2-calico-whnsn                         0/1     Completed   1          2m21s   172.17.0.7     rke2-server-1   <none>           <none>
kube-system       helm-install-rke2-coredns-pmlfn                        0/1     Completed   0          2m21s   172.17.0.7     rke2-server-1   <none>           <none>
kube-system       helm-install-rke2-ingress-nginx-wj87s                  0/1     Completed   0          2m21s   10.42.241.70   rke2-server-1   <none>           <none>
kube-system       helm-install-rke2-metrics-server-b7cwb                 0/1     Completed   0          2m21s   10.42.241.66   rke2-server-1   <none>           <none>
kube-system       helm-install-rke2-snapshot-controller-crd-h8cpp        0/1     Completed   0          2m21s   10.42.241.74   rke2-server-1   <none>           <none>
kube-system       helm-install-rke2-snapshot-controller-sw9zr            0/1     Completed   1          2m21s   10.42.241.73   rke2-server-1   <none>           <none>
kube-system       helm-install-rke2-snapshot-validation-webhook-j2m4r    0/1     Completed   0          2m21s   10.42.241.67   rke2-server-1   <none>           <none>
kube-system       kube-apiserver-rke2-server-1                           1/1     Running     0          2m28s   172.17.0.7     rke2-server-1   <none>           <none>
kube-system       kube-controller-manager-rke2-server-1                  1/1     Running     0          2m25s   172.17.0.7     rke2-server-1   <none>           <none>
kube-system       kube-proxy-rke2-server-1                               1/1     Running     0          2m27s   172.17.0.7     rke2-server-1   <none>           <none>
kube-system       kube-scheduler-rke2-server-1                           1/1     Running     0          2m25s   172.17.0.7     rke2-server-1   <none>           <none>
kube-system       rke2-coredns-rke2-coredns-6b795db654-hlkjq             1/1     Running     0          2m15s   10.42.241.65   rke2-server-1   <none>           <none>
kube-system       rke2-coredns-rke2-coredns-autoscaler-945fbd459-49z7w   1/1     Running     0          2m15s   10.42.241.72   rke2-server-1   <none>           <none>
kube-system       rke2-ingress-nginx-controller-pds4q                    1/1     Running     0          90s     10.42.241.77   rke2-server-1   <none>           <none>
kube-system       rke2-metrics-server-544c8c66fc-fn28q                   1/1     Running     0          101s    10.42.241.68   rke2-server-1   <none>           <none>
kube-system       rke2-snapshot-controller-59cc9cd8f4-gs79b              1/1     Running     0          95s     10.42.241.76   rke2-server-1   <none>           <none>
kube-system       rke2-snapshot-validation-webhook-54c5989b65-l2zm7      1/1     Running     0          101s    10.42.241.69   rke2-server-1   <none>           <none>
tigera-operator   tigera-operator-59d6c9b46-smmhc                        1/1     Running     0          2m12s   172.17.0.7     rke2-server-1   <none>           <none>
root@rke2-server-1:/# iptables-save | grep 443
-A CNI-DN-4bd8677afc642d2a5aac4 -s 10.42.241.77/32 -p tcp -m tcp --dport 443 -j CNI-HOSTPORT-SETMARK
-A CNI-DN-4bd8677afc642d2a5aac4 -s 127.0.0.1/32 -p tcp -m tcp --dport 443 -j CNI-HOSTPORT-SETMARK
-A CNI-DN-4bd8677afc642d2a5aac4 -p tcp -m tcp --dport 443 -j DNAT --to-destination 10.42.241.77:443
-A CNI-HOSTPORT-DNAT -p tcp -m comment --comment "dnat name: \"k8s-pod-network\" id: \"870dd0b2f029ad490c0c3ad7f6d6ea45da366ad1b2feb0612df5b29ad1a4f277\"" -m multiport --dports 80,443 -j CNI-DN-4bd8677afc642d2a5aac4orange-thailand-31683
12/15/2023, 8:39 PM[jlong@mrtkub charts]$ sudo iptables-save | grep 443
-A KUBE-SVC-46CB5Z6CZH2WFWVP -m comment --comment "kube-system/rke2-ingress-nginx-controller-admission:https-webhook -> 10.42.0.13:8443" -j KUBE-SEP-V76QII4E7SINJISZ
-A KUBE-SEP-V76QII4E7SINJISZ -p tcp -m comment --comment "kube-system/rke2-ingress-nginx-controller-admission:https-webhook" -m tcp -j DNAT --to-destination 10.42.0.13:8443
-A KUBE-SVC-NPX46M4PTMTKRN6Y -m comment --comment "default/kubernetes:https -> 10.1.2.216:6443" -j KUBE-SEP-33WVS54JD4GQ6L6Z
-A KUBE-SEP-33WVS54JD4GQ6L6Z -p tcp -m comment --comment "default/kubernetes:https" -m tcp -j DNAT --to-destination 10.1.2.216:6443
-A KUBE-SVC-J3KDMBYV4FOFPYZL -m comment --comment "kube-system/rke2-snapshot-validation-webhook:https -> 10.42.0.11:8443" -j KUBE-SEP-BILYSDUPRM7UV575
-A KUBE-SEP-BILYSDUPRM7UV575 -p tcp -m comment --comment "kube-system/rke2-snapshot-validation-webhook:https" -m tcp -j DNAT --to-destination 10.42.0.11:8443
-A KUBE-SVC-BOJCKSINR77JVVPB -m comment --comment "cattle-system/rancher-webhook:https -> 10.42.0.53:9443" -j KUBE-SEP-7L7UOD6GS66G5KPZ
-A KUBE-SEP-7L7UOD6GS66G5KPZ -p tcp -m comment --comment "cattle-system/rancher-webhook:https" -m tcp -j DNAT --to-destination 10.42.0.53:9443creamy-pencil-82913
12/15/2023, 8:39 PMcreamy-pencil-82913
12/15/2023, 8:40 PMorange-thailand-31683
12/15/2023, 8:40 PMorange-thailand-31683
12/15/2023, 8:40 PM[jlong@mrtkub charts]$ kubectl get pods -A
NAMESPACE             NAME                                                    READY   STATUS             RESTARTS         AGE
cattle-fleet-system   fleet-agent-855db48487-dk8gj                            1/1     Running            1 (2d6h ago)     11d
cattle-system         cattle-cluster-agent-f545444ff-ppr8c                    0/1     CrashLoopBackOff   643 (4m6s ago)   11d
cattle-system         rancher-webhook-85b57d6bf8-kzh8n                        1/1     Running            1 (9d ago)       11d
default               api-service-pod                                         1/1     Running            0                15d
default               mysticraven-frontend-pod                                1/1     Running            0                3d23h
default               test-ubuntu                                             1/1     Running            0                16d
gitlab-runners        gitlab-runner-6c6965dc44-86b6t                          1/1     Running            21 (8h ago)      9d
gitlab-runners        gitlab-runner-6c6965dc44-9c796                          1/1     Running            21 (8h ago)      9d
gitlab-runners        gitlab-runner-6c6965dc44-kd65f                          1/1     Running            22 (8h ago)      9d
gitlab-runners        mysticraven-frontend-pod                                1/1     Running            0                138m
kube-system           <http://cloud-controller-manager-mrtkub.corp.icr-team.com|cloud-controller-manager-mrtkub.corp.icr-team.com>       1/1     Running            122 (38m ago)    17d
kube-system           <http://etcd-mrtkub.corp.icr-team.com|etcd-mrtkub.corp.icr-team.com>                           1/1     Running            0                17d
kube-system           helm-install-rke2-canal-m9jcc                           0/1     Completed          0                17d
kube-system           helm-install-rke2-coredns-g8nnn                         0/1     Completed          0                17d
kube-system           helm-install-rke2-ingress-nginx-nnrkb                   0/1     Completed          0                17d
kube-system           helm-install-rke2-metrics-server-jcn6n                  0/1     Completed          0                17d
kube-system           helm-install-rke2-snapshot-controller-crd-f2czs         0/1     Completed          0                17d
kube-system           helm-install-rke2-snapshot-controller-snlws             0/1     Completed          1                17d
kube-system           helm-install-rke2-snapshot-validation-webhook-mvkcc     0/1     Completed          0                17d
kube-system           <http://kube-apiserver-mrtkub.corp.icr-team.com|kube-apiserver-mrtkub.corp.icr-team.com>                 1/1     Running            0                17d
kube-system           <http://kube-controller-manager-mrtkub.corp.icr-team.com|kube-controller-manager-mrtkub.corp.icr-team.com>        1/1     Running            115 (38m ago)    17d
kube-system           <http://kube-proxy-mrtkub.corp.icr-team.com|kube-proxy-mrtkub.corp.icr-team.com>                     1/1     Running            0                17d
kube-system           <http://kube-scheduler-mrtkub.corp.icr-team.com|kube-scheduler-mrtkub.corp.icr-team.com>                 1/1     Running            118 (38m ago)    17d
kube-system           rke2-canal-r7vq8                                        2/2     Running            0                17d
kube-system           rke2-coredns-rke2-coredns-565dfc7d75-zltwx              1/1     Running            0                17d
kube-system           rke2-coredns-rke2-coredns-autoscaler-6c48c95bf9-jb276   1/1     Running            0                17d
kube-system           rke2-ingress-nginx-controller-9hq6q                     1/1     Running            0                17d
kube-system           rke2-metrics-server-c9c78bd66-trbf5                     1/1     Running            0                17d
kube-system           rke2-snapshot-controller-6f7bbb497d-wh5l8               1/1     Running            61 (38m ago)     17d
kube-system           rke2-snapshot-validation-webhook-65b5675d5c-hkbwp       1/1     Running            0                17d
local-path-storage    local-path-provisioner-8bc8875b-5php8                   1/1     Running            0                11dorange-thailand-31683
12/15/2023, 8:40 PMorange-thailand-31683
12/15/2023, 8:40 PMcreamy-pencil-82913
12/15/2023, 8:40 PMorange-thailand-31683
12/15/2023, 8:41 PMcreamy-pencil-82913
12/15/2023, 8:42 PMorange-thailand-31683
12/15/2023, 8:44 PMorange-thailand-31683
12/15/2023, 8:44 PMorange-thailand-31683
12/15/2023, 8:45 PM2023-12-15 20:26:48.233 [WARNING][53] felix/table.go 654: Detected out-of-sync inserts, marking for resync actualRuleIDs=[]string{""} chainName="FORWARD" expectedRuleIDs=[]string{"wUHhoiAYhphO9Mso", "", "S93hcgKJrXEqnTfs", "mp77cMpurHhyjLrM"} ipVersion=0x4 table="filter"
2023-12-15 20:26:48.233 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-pri-_P_DLYv72G3ond4Ecw8" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.233 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-tw-cali9fb1672d406" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.233 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-tw-calic6367f3daa3" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.233 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-to-wl-dispatch-5" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.233 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-from-wl-dispatch-f" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.233 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-to-wl-dispatch" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.234 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-fw-cali465b0151bf2" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.234 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-pri-ksa.default.default" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.234 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-tw-calid3e965123b7" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.234 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-pri-_GyLFhtf5u9n-v9Ckd7" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.234 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-pro-kns.cattle-system" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.234 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-OUTPUT" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.234 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-tw-cali59b3cac0933" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.234 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-INPUT" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.234 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-pri-_XnQ5h_hZf854SLqzqE" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.234 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-pro-_kvQu8xaXYEM2wqqPSH" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.234 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-to-hep-forward" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.234 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-tw-califd8aa92dcb1" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.234 [WARNING][53] felix/table.go 654: Detected out-of-sync inserts, marking for resync actualRuleIDs=[]string{""} chainName="OUTPUT" expectedRuleIDs=[]string{"tVnHkvAo15HuiPy0", ""} ipVersion=0x4 table="filter"
2023-12-15 20:26:48.234 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-tw-cali18da3c2efe6" ipVersion=0x4 table="filter"
2023-12-15 20:26:48.234 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-from-host-endpoint" ipVersion=0x4 table="filter"
2023-12-15 20:26:52.320 [WARNING][53] felix/table.go 654: Detected out-of-sync inserts, marking for resync actualRuleIDs=[]string{"", "", "", "Cz_u1IQiXIMmKD4c", ""} chainName="INPUT" expectedRuleIDs=[]string{"Cz_u1IQiXIMmKD4c", "", "", "", ""} ipVersion=0x4 table="filter"
2023-12-15 20:26:52.321 [WARNING][53] felix/table.go 654: Detected out-of-sync inserts, marking for resync actualRuleIDs=[]string{"", "", "", "", "wUHhoiAYhphO9Mso", "", "S93hcgKJrXEqnTfs", "mp77cMpurHhyjLrM"} chainName="FORWARD" expectedRuleIDs=[]string{"wUHhoiAYhphO9Mso", "", "", "", "", "", "S93hcgKJrXEqnTfs", "mp77cMpurHhyjLrM"} ipVersion=0x4 table="filter"
2023-12-15 20:26:52.321 [WARNING][53] felix/table.go 654: Detected out-of-sync inserts, marking for resync actualRuleIDs=[]string{"", "", "tVnHkvAo15HuiPy0", ""} chainName="OUTPUT" expectedRuleIDs=[]string{"tVnHkvAo15HuiPy0", "", "", ""} ipVersion=0x4 table="filter"
2023-12-15 20:27:05.558 [WARNING][53] felix/table.go 654: Detected out-of-sync inserts, marking for resync actualRuleIDs=[]string{} chainName="PREROUTING" expectedRuleIDs=[]string{"6gwbT8clXdHdC1b1"} ipVersion=0x4 table="raw"
2023-12-15 20:27:05.559 [WARNING][53] felix/table.go 654: Detected out-of-sync inserts, marking for resync actualRuleIDs=[]string{} chainName="OUTPUT" expectedRuleIDs=[]string{"tVnHkvAo15HuiPy0"} ipVersion=0x4 table="raw"
2023-12-15 20:27:05.559 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-rpf-skip" ipVersion=0x4 table="raw"
2023-12-15 20:27:05.559 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-from-host-endpoint" ipVersion=0x4 table="raw"
2023-12-15 20:27:05.559 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-to-host-endpoint" ipVersion=0x4 table="raw"
2023-12-15 20:27:05.559 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-PREROUTING" ipVersion=0x4 table="raw"
2023-12-15 20:27:05.559 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-OUTPUT" ipVersion=0x4 table="raw"
2023-12-15 20:27:27.445 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-POSTROUTING" ipVersion=0x4 table="nat"
2023-12-15 20:27:27.445 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-OUTPUT" ipVersion=0x4 table="nat"
2023-12-15 20:27:27.445 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-nat-outgoing" ipVersion=0x4 table="nat"
2023-12-15 20:27:27.445 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-fip-dnat" ipVersion=0x4 table="nat"
2023-12-15 20:27:27.445 [WARNING][53] felix/table.go 654: Detected out-of-sync inserts, marking for resync actualRuleIDs=[]string{""} chainName="PREROUTING" expectedRuleIDs=[]string{"6gwbT8clXdHdC1b1", ""} ipVersion=0x4 table="nat"
2023-12-15 20:27:27.445 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-PREROUTING" ipVersion=0x4 table="nat"
2023-12-15 20:27:27.445 [WARNING][53] felix/table.go 654: Detected out-of-sync inserts, marking for resync actualRuleIDs=[]string{""} chainName="OUTPUT" expectedRuleIDs=[]string{"tVnHkvAo15HuiPy0", ""} ipVersion=0x4 table="nat"
2023-12-15 20:27:27.445 [WARNING][53] felix/table.go 660: Detected out-of-sync Calico chain, marking for resync chainName="cali-fip-snat" ipVersion=0x4 table="nat"
2023-12-15 20:27:27.445 [WARNING][53] felix/table.go 654: Detected out-of-sync inserts, marking for resync actualRuleIDs=[]string{"", ""} chainName="POSTROUTING" expectedRuleIDs=[]string{"O3lYWMrLQYEMJtB5", "", ""} ipVersion=0x4 table="nat"orange-thailand-31683
12/15/2023, 8:46 PMorange-thailand-31683
12/15/2023, 8:53 PM2023-12-15T13:25:10.522054508-07:00 stderr F I1215 20:25:10.521878       1 iptables.go:421] Some iptables rules are missing; deleting and recreating rules
2023-12-15T13:25:10.529988791-07:00 stderr F I1215 20:25:10.529843       1 iptables.go:283] bootstrap done
2023-12-15T13:25:11.00278908-07:00 stderr F I1215 20:25:11.002604       1 iptables.go:421] Some iptables rules are missing; deleting and recreating rules
2023-12-15T13:25:11.01859547-07:00 stderr F I1215 20:25:11.018445       1 iptables.go:283] bootstrap done
2023-12-15T13:26:36.306865684-07:00 stderr F I1215 20:26:36.305915       1 iptables.go:421] Some iptables rules are missing; deleting and recreating rules
2023-12-15T13:26:36.367077333-07:00 stderr F I1215 20:26:36.366937       1 iptables.go:283] bootstrap done
2023-12-15T13:26:40.714437277-07:00 stderr F I1215 20:26:40.714228       1 iptables.go:421] Some iptables rules are missing; deleting and recreating rules
2023-12-15T13:26:40.721815679-07:00 stderr F I1215 20:26:40.721525       1 iptables.go:283] bootstrap doneorange-thailand-31683
12/15/2023, 9:13 PMorange-thailand-31683
12/15/2023, 9:30 PMorange-thailand-31683
12/15/2023, 9:30 PMorange-thailand-31683
12/18/2023, 3:47 PMrke2-ingress-nginx-controllercreamy-pencil-82913
12/18/2023, 7:42 PMcreamy-pencil-82913
12/18/2023, 7:43 PMorange-thailand-31683
12/18/2023, 7:45 PMorange-thailand-31683
12/18/2023, 7:46 PMcreamy-pencil-82913
12/18/2023, 8:52 PM/var/lib/rancher/rke2/agent/containerd/containerd.logorange-thailand-31683
12/18/2023, 8:54 PMorange-thailand-31683
12/19/2023, 2:05 PMwarningerrororange-thailand-31683
12/19/2023, 2:07 PM[root@mrtkub admin-jwilliams]# /var/lib/rancher/rke2/bin/crictl inspect -o json 9c344d6e8847d | jq -r '.info.runtimeSpec.linux.namespaces[] | select(.type="network") | .path'
null
/proc/4041102/ns/ipc
/proc/4041102/ns/uts
null
/proc/4041102/ns/net
[root@mrtkub admin-jwilliams]# nsenter --net=/proc/4041102/ns/net ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
3: eth0@if174: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP group default qlen 1000
link/ether d2:90:d1:8d:7b:89 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 10.42.0.13/32 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::d090:d1ff:fe8d:7b89/64 scope link
valid_lft forever preferred_lft forever
[root@mrtkub admin-jwilliams]# nsenter --net=/proc/4041102/ns/net netstat -anl
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8181 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10245 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10246 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10247 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10246 127.0.0.1:51770 TIME_WAIT
tcp 0 0 127.0.0.1:10246 127.0.0.1:33096 TIME_WAIT
tcp 0 0 127.0.0.1:10246 127.0.0.1:46246 TIME_WAIT
tcp 0 0 10.42.0.13:54354 10.43.0.1:443 ESTABLISHED
tcp 0 0 127.0.0.1:10246 127.0.0.1:33110 TIME_WAIT
tcp 0 0 127.0.0.1:10246 127.0.0.1:37620 TIME_WAIT
tcp 0 0 127.0.0.1:10246 127.0.0.1:55010 TIME_WAIT
tcp 0 0 127.0.0.1:10246 127.0.0.1:41828 TIME_WAIT
tcp 0 0 127.0.0.1:10246 127.0.0.1:42954 TIME_WAIT
tcp 0 0 127.0.0.1:10246 127.0.0.1:41842 TIME_WAIT
tcp 0 0 127.0.0.1:10246 127.0.0.1:55000 TIME_WAIT
tcp 0 0 127.0.0.1:10246 127.0.0.1:42964 TIME_WAIT
tcp 0 0 127.0.0.1:10246 127.0.0.1:46252 TIME_WAIT
tcp 0 0 127.0.0.1:10246 127.0.0.1:51758 TIME_WAIT
tcp6 0 0 :::80 :::* LISTEN
tcp6 0 0 :::8181 :::* LISTEN
tcp6 0 0 :::8443 :::* LISTEN
tcp6 0 0 :::443 :::* LISTEN
tcp6 0 0 :::10254 :::* LISTEN
tcp6 0 0 10.42.0.13:10254 10.1.2.216:53712 TIME_WAIT
tcp6 0 0 10.42.0.13:10254 10.1.2.216:56196 TIME_WAIT
tcp6 0 0 10.42.0.13:10254 10.1.2.216:48602 TIME_WAIT
tcp6 0 0 10.42.0.13:10254 10.1.2.216:53714 TIME_WAIT
tcp6 0 0 10.42.0.13:10254 10.1.2.216:59240 TIME_WAIT
tcp6 0 0 10.42.0.13:10254 10.1.2.216:47644 TIME_WAIT
tcp6 0 0 10.42.0.13:10254 10.1.2.216:47638 TIME_WAIT
tcp6 0 0 10.42.0.13:10254 10.1.2.216:59242 TIME_WAIT
tcp6 0 0 10.42.0.13:10254 10.1.2.216:37596 TIME_WAIT
tcp6 0 0 10.42.0.13:10254 10.1.2.216:56194 TIME_WAIT
tcp6 0 0 10.42.0.13:10254 10.1.2.216:37612 TIME_WAIT
tcp6 0 0 10.42.0.13:10254 10.1.2.216:46736 TIME_WAIT
tcp6 0 0 10.42.0.13:10254 10.1.2.216:48606 TIME_WAIT
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 233566202 /tmp/nginx/prometheus-nginx.socket
unix 3 [ ] STREAM CONNECTED 668122688
unix 3 [ ] STREAM CONNECTED 668122674
unix 3 [ ] STREAM CONNECTED 668122680
unix 3 [ ] STREAM CONNECTED 668122686
unix 3 [ ] STREAM CONNECTED 668122689
unix 3 [ ] STREAM CONNECTED 668122684
unix 3 [ ] STREAM CONNECTED 668122673
unix 3 [ ] STREAM CONNECTED 668122677
unix 3 [ ] STREAM CONNECTED 668122685
unix 3 [ ] STREAM CONNECTED 668122678
unix 3 [ ] STREAM CONNECTED 668122687
unix 3 [ ] STREAM CONNECTED 668122679
unix 3 [ ] STREAM CONNECTED 668122676
unix 3 [ ] STREAM CONNECTED 668122675
unix 3 [ ] STREAM CONNECTED 668122690
unix 3 [ ] STREAM CONNECTED 668122682
unix 3 [ ] STREAM CONNECTED 668122681
unix 3 [ ] STREAM CONNECTED 668122683
Active Bluetooth connections (servers and established)
Proto Destination Source State PSM DCID SCID IMTU OMTU Security
Proto Destination Source State Channelorange-thailand-31683
12/19/2023, 2:07 PMorange-thailand-31683
12/19/2023, 2:53 PMnginx2023-12-19 07:30:59.452 [WARNING][7753] k8s.go 540: CNI_CONTAINERID does not match WorkloadEndpoint ConainerID, don't delete WEP. ContainerID="5a1853bb865285028d5b8b073457298a304b8ae5c8e33f3bec46539b62103e2f" WorkloadEndpoint=&v3.WorkloadEndpoint{TypeMeta:v1.TypeMeta{Kind:"WorkloadEndpoint", APIVersion:"<http://projectcalico.org/v3|projectcalico.org/v3>"}, ObjectMeta:v1.ObjectMeta{Name:"mrtkub.domain.com-k8s-rke2--ingress--nginx--controller--9hq6q-eth0", GenerateName:"rke2-ingress-nginx-controller-", Namespace:"kube-system", SelfLink:"", UID:"1af4b4b3-574d-448c-a5f3-0d4c7b19b11d", ResourceVersion:"9001880", Generation:0, CreationTimestamp:time.Date(2023, time.November, 28, 13, 12, 37, 0, time.Local), DeletionTimestamp:<nil>, DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string{"<http://app.kubernetes.io/component|app.kubernetes.io/component>":"controller", "<http://app.kubernetes.io/instance|app.kubernetes.io/instance>":"rke2-ingress-nginx", "<http://app.kubernetes.io/managed-by|app.kubernetes.io/managed-by>":"Helm", "<http://app.kubernetes.io/name|app.kubernetes.io/name>":"rke2-ingress-nginx", "<http://app.kubernetes.io/part-of|app.kubernetes.io/part-of>":"rke2-ingress-nginx", "<http://app.kubernetes.io/version|app.kubernetes.io/version>":"1.9.3", "controller-revision-hash":"6858c9cf76", "<http://helm.sh/chart|helm.sh/chart>":"rke2-ingress-nginx-4.8.200", "pod-template-generation":"1", "<http://projectcalico.org/namespace|projectcalico.org/namespace>":"kube-system", "<http://projectcalico.org/orchestrator|projectcalico.org/orchestrator>":"k8s", "<http://projectcalico.org/serviceaccount|projectcalico.org/serviceaccount>":"rke2-ingress-nginx"}, Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Spec:v3.WorkloadEndpointSpec{Orchestrator:"k8s", Workload:"", Node:"<http://mrtkub.corp.icr-team.com|mrtkub.corp.icr-team.com>", ContainerID:"1033f1abcbe48ec0b6be3fd70aeed9b7bc9db416b9db6c73afd5cf3ccadd12fd", Pod:"rke2-ingress-nginx-controller-9hq6q", Endpoint:"eth0", ServiceAccountName:"rke2-ingress-nginx", IPNetworks:[]string{"10.42.0.248/32"}, IPNATs:[]v3.IPNAT(nil), IPv4Gateway:"", IPv6Gateway:"", Profiles:[]string{"kns.kube-system", "ksa.kube-system.rke2-ingress-nginx"}, InterfaceName:"cali6ef98d8884d", MAC:"", Ports:[]v3.WorkloadEndpointPort{v3.WorkloadEndpointPort{Name:"http", Protocol:numorstring.Protocol{Type:1, NumVal:0x0, StrVal:"TCP"}, Port:0x50, HostPort:0x50, HostIP:""}, v3.WorkloadEndpointPort{Name:"https", Protocol:numorstring.Protocol{Type:1, NumVal:0x0, StrVal:"TCP"}, Port:0x1bb, HostPort:0x1bb, HostIP:""}, v3.WorkloadEndpointPort{Name:"webhook", Protocol:numorstring.Protocol{Type:1, NumVal:0x0, StrVal:"TCP"}, Port:0x20fb, HostPort:0x0, HostIP:""}}, AllowSpoofedSourcePrefixes:[]string(nil)}}orange-thailand-31683
12/19/2023, 4:26 PMorange-thailand-31683
12/19/2023, 5:25 PMorange-thailand-31683
12/19/2023, 5:36 PMcreamy-pencil-82913
12/19/2023, 6:16 PMorange-thailand-31683
12/19/2023, 6:17 PMorange-thailand-31683
12/19/2023, 6:17 PMorange-thailand-31683
12/19/2023, 6:17 PMorange-thailand-31683
12/19/2023, 6:18 PMcreamy-pencil-82913
12/19/2023, 6:24 PMorange-thailand-31683
12/19/2023, 6:24 PMorange-thailand-31683
12/19/2023, 6:25 PMcreamy-pencil-82913
12/19/2023, 6:25 PMorange-thailand-31683
12/19/2023, 6:26 PMorange-thailand-31683
12/19/2023, 6:28 PMorange-thailand-31683
12/19/2023, 6:28 PMorange-thailand-31683
12/19/2023, 6:48 PMcreamy-pencil-82913
12/19/2023, 6:53 PMcreamy-pencil-82913
12/19/2023, 6:54 PMorange-thailand-31683
12/19/2023, 6:55 PMorange-thailand-31683
12/19/2023, 6:55 PMorange-thailand-31683
12/19/2023, 6:55 PMorange-thailand-31683
12/19/2023, 7:31 PMpython3 -m http.server 80creamy-pencil-82913
12/19/2023, 7:37 PMorange-thailand-31683
12/19/2023, 7:41 PMcreamy-pencil-82913
12/19/2023, 7:42 PMorange-thailand-31683
12/19/2023, 7:43 PMorange-thailand-31683
12/19/2023, 8:06 PMcreamy-pencil-82913
12/19/2023, 8:10 PMcreamy-pencil-82913
12/19/2023, 8:10 PMorange-thailand-31683
12/19/2023, 8:12 PMorange-thailand-31683
12/19/2023, 8:12 PMcreamy-pencil-82913
12/19/2023, 8:12 PMorange-thailand-31683
12/19/2023, 8:12 PMorange-thailand-31683
12/19/2023, 8:12 PMorange-thailand-31683
12/19/2023, 8:14 PMcreamy-pencil-82913
12/19/2023, 8:15 PMkubectl apply -f - <<EOF
apiVersion: <http://helm.cattle.io/v1|helm.cattle.io/v1>
kind: HelmChartConfig
metadata:
  name: rke2-ingress-nginx
  namespace: kube-system
spec:
  valuesContent: "# placeholder"
EOFcreamy-pencil-82913
12/19/2023, 8:15 PMcreamy-pencil-82913
12/19/2023, 8:16 PMcreamy-pencil-82913
12/19/2023, 8:16 PMorange-thailand-31683
12/19/2023, 8:50 PMorange-thailand-31683
12/19/2023, 9:09 PMcreamy-pencil-82913
12/19/2023, 9:09 PMcreamy-pencil-82913
12/19/2023, 9:10 PMorange-thailand-31683
12/19/2023, 9:10 PMorange-thailand-31683
12/19/2023, 9:10 PMorange-thailand-31683
12/19/2023, 9:10 PMorange-thailand-31683
12/19/2023, 9:10 PMcreamy-pencil-82913
12/19/2023, 9:11 PMorange-thailand-31683
12/19/2023, 9:11 PMorange-thailand-31683
12/19/2023, 9:11 PM