This message was deleted.
# general
a
This message was deleted.
f
threading as not to disrupt the next questions:
Copy code
8ba647368bba:/var/lib/rancher # kubectl get endpoints -A
NAMESPACE             NAME              ENDPOINTS                                        AGE
cattle-fleet-system   gitjob            10.42.0.230:8080                                 188d
cattle-system         rancher           172.17.0.2:444                                   188d
cattle-system         rancher-webhook   10.42.0.229:9443                                 188d
cattle-system         webhook-service   10.42.0.229:8777                                 188d
default               kubernetes        172.17.0.2:6443                                  188d
kube-system           kube-dns          10.42.0.233:53,10.42.0.233:53,10.42.0.233:9153   188d
172.17.0.2 being the IP of my docker container
inside the bridge network
within the rancher container it connects
Copy code
8ba647368bba:/var/lib/rancher # curl --verbose -k '<https://172.17.0.2:6443>'
*   Trying 172.17.0.2:6443...
* Connected to 172.17.0.2 (172.17.0.2) port 6443 (#0)
* ALPN: offers h2,http/1.1
Copy code
8ba647368bba:/var/lib/rancher # kubectl -n cattle-system logs helm-operation-pl9s4 proxy
Starting to serve on 127.0.0.1:8001
W0907 20:33:40.426668       7 proxy.go:175] Request filter disabled, your proxy is vulnerable to XSRF attacks, please be cautious
E0907 20:34:11.311916       7 proxy_server.go:147] Error while proxying request: dial tcp: lookup kubernetes.default: i/o timeout
so i get what 8001 is now
Copy code
8ba647368bba:/var/lib/rancher # kubectl -n cattle-system exec -it helm-operation-pl9s4 -- bash
Defaulted container "helm" out of: helm, proxy
> cat /etc/resolv.conf
search cattle-system.svc.cluster.local svc.cluster.local cluster.local <http://mydomainisredactedhere.com|mydomainisredactedhere.com>
nameserver 10.43.0.10
options ndots:5
on a Rancher cluster still running v2.6.8
Copy code
a816e27eac1b:~/.kube # kubectl -n kube-system exec -it traefik-6bb96f9bd8-788sc -- sh
/ $ cat /etc/resolve.conf
cat: can't open '/etc/resolve.conf': No such file or directory
/ $ cd /etc
/etc $ ls
alpine-release        ca-certificates.conf  fstab                 hosts                 issue                 modules               mtab                  os-release            profile               resolv.conf           shadow                sysctl.conf
apk                   conf.d                group                 init.d                logrotate.d           modules-load.d        network               passwd                profile.d             securetty             shells                sysctl.d
ca-certificates       crontabs              hostname              inittab               modprobe.d            motd                  opt                   periodic              protocols             services              ssl                   udhcpd.conf
/etc $ cat resolv.conf
search kube-system.svc.cluster.local svc.cluster.local cluster.local <http://mydomainisredactedhere.com|mydomainisredactedhere.com>
nameserver 10.43.0.10
options ndots:5
why is 2.7.6 using
cattle-system.svc.cluster.local
?
disregard the last couple of pastes
still just need to figure out
lookup kubernetes.default: i/o timeout
Copy code
$ sudo docker info | tail -2
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
 Live Restore Enabled: false
sigh
looks like that was it, so feel free to delete this whole thread 😕
319 Views