lab 3.5 step 6
Hi I have issue with load page by browser, service nginx
kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
httpd ClusterIP 10.97.249.136 8050/TCP 80m
kubernetes ClusterIP 10.96.0.1 443/TCP 5h25m
nginx LoadBalancer 10.109.23.170 80:32224/TCP 22m
the ip public not respond.
http://35.184.217.9:32224/
kubectl get pods
NAME READY STATUS RESTARTS AGE
httpd-88fb9b4f9-w47cx 1/1 Running 0 110m
nginx-85ff79dd56-9mdjg 1/1 Running 0 174m
nginx-85ff79dd56-jnrfr 1/1 Running 0 69m
nginx-85ff79dd56-p59bk 1/1 Running 0 64m
kubectl get pod -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
httpd-88fb9b4f9-w47cx 1/1 Running 0 110m 192.168.97.6 fat78
nginx-85ff79dd56-9mdjg 1/1 Running 0 174m 192.168.97.3 fat78
nginx-85ff79dd56-jnrfr 1/1 Running 0 69m 192.168.196.196 fat-1
nginx-85ff79dd56-p59bk 1/1 Running 0 64m 192.168.97.12 fat78
could you help me.
Comments
-
Hi @etofran810,
Are you still on local vmware? Which one of your Kubernetes cluster instances has the public IP
35.184.217.9?Regards,
-Chris0 -
not, I am working with GCP
0 -
node1 us-central1-f 10.128.0.5 (nic0) 35.225.101.86
node2 us-central1-f 10.128.0.6 (nic0) 35.202.241.2450 -
I have created different service
f_alexander_t_gmail_com@fat-1:~$ kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
httpd ClusterIP 10.97.249.136 8050/TCP 44h
kubernetes ClusterIP 10.96.0.1 443/TCP 2d
nginx LoadBalancer 10.109.23.170 80:32224/TCP 43h
zabbix ClusterIP 10.106.199.184 50100/TCP 18mnginx type loadbalance
the lab indicated connect for browser ip-public:port http://35.202.241.245:32224/0 -
kubectl get pods --> 3 intance
nginx-85ff79dd56-9mdjg 1/1 Running 1 45h
nginx-85ff79dd56-jnrfr 1/1 Running 1 43h
nginx-85ff79dd56-p59bk 1/1 Running 1 43h0 -
ping -c 3 35.202.241.245
PING 35.202.241.245 (35.202.241.245) 56(84) bytes of data.
64 bytes from 35.202.241.245: icmp_seq=1 ttl=67 time=1.14 ms
64 bytes from 35.202.241.245: icmp_seq=2 ttl=67 time=0.389 ms
64 bytes from 35.202.241.245: icmp_seq=3 ttl=67 time=0.372 ms--- 35.202.241.245 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2009ms
rtt min/avg/max/mdev = 0.372/0.634/1.143/0.360 ms0 -
kubectl exec nginx-85ff79dd56-9mdjg -- printenv
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=nginx-85ff79dd56-9mdjg
HTTPD_SERVICE_HOST=10.97.249.136
HTTPD_PORT_8050_TCP_PROTO=tcp
KUBERNETES_PORT=tcp://10.96.0.1:443
NGINX_SERVICE_HOST=10.109.23.170
NGINX_PORT_80_TCP=tcp://10.109.23.170:80
NGINX_PORT_80_TCP_PORT=80
KUBERNETES_SERVICE_PORT_HTTPS=443
KUBERNETES_PORT_443_TCP_PORT=443
NGINX_SERVICE_PORT=80
NGINX_PORT=tcp://10.109.23.170:80
HTTPD_SERVICE_PORT=8050
HTTPD_PORT=tcp://10.97.249.136:8050
HTTPD_PORT_8050_TCP=tcp://10.97.249.136:8050
HTTPD_PORT_8050_TCP_PORT=8050
HTTPD_PORT_8050_TCP_ADDR=10.97.249.136
KUBERNETES_SERVICE_PORT=443
KUBERNETES_PORT_443_TCP_PROTO=tcp
NGINX_PORT_80_TCP_PROTO=tcp
NGINX_PORT_80_TCP_ADDR=10.109.23.170
KUBERNETES_SERVICE_HOST=10.96.0.1
KUBERNETES_PORT_443_TCP=tcp://10.96.0.1:443
KUBERNETES_PORT_443_TCP_ADDR=10.96.0.1
NGINX_VERSION=1.17.8
NJS_VERSION=0.3.8
PKG_RELEASE=1~buster
HOME=/root0 -
yes, I have opened all port
Nombre Tipo Destinos Filtros Protocolos y puertos Acción Prioridad Red
default-allow-icmp Entrada Aplicar a todas Intervalos de IPs: 0.0.0.0/0 icmp Permitir 65534default
default-allow-internal Entrada Aplicar a todas Intervalos de IPs: 10.128.0.0/9 tcp:0-65535
udp:0-65535
icmp Permitir 65534 default
default-allow-rdp Entrada Aplicar a todas Intervalos de IPs: 0.0.0.0/0 tcp:3389 Permitir 65534 default
default-allow-ssh Entrada Aplicar a todas Intervalos de IPs: 0.0.0.0/0 tcp:22 Permitir 65534 default
fat78 Entrada Aplicar a todas Intervalos de IPs: 192.168.116.0/24 all Permitir 1000 fat780 -
Hi @etofran810,
My Spanish is a bit rusty, and I cannot see a rule that allows all traffic from all sources, to all ports and all protocols.
Would you mind highlighting that particular rule?Regards,
-Chris0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 750 Linux Foundation IT Professional Programs
- 373 Cloud Engineer IT Professional Program
- 169 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 4 DevOps & GitOps IT Professional Program
- 99 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 1 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 4 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 2 Open Source Best Practice Training
- 1 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 769 Linux Distributions
- 81 Debian
- 68 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 955 Programming and Development
- 310 Kernel Development
- 627 Software Development
- 984 Software
- 376 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)