kubernetes's People
Forkers
narendra22 sivasankarakvd layaramchandra9 subhajitadhya gowtham2708 pravat777 bhoslepu naraharisettysairam ganesha44 ravismd srividhya9 iamubarak arunapaudyal kiransai60 muralinel arun9theja nagaraja06 raja-github-raja san450 udayalwala manirajsvs pradeepanu rajgomase24 493dushyanth vamshibabu karthikeyan4595 geethareddy123 imran159 tharuni9731 shanthiyg ramana204 rayan147 narasingam08 gowtham-devop raghuvarun594 farian sridatha venkatstraton sasigowda sidhukumar navikiru sonalikteli saiteja585 satchellhong singam1995 rk365040 mrarif1 madinenikalyan gollapalli-ashok hemanthj42 koushikdingu thedevopsdays ayazuddin007 jhansi-n kiranbhulokam welcomeswagatam90 birmantu git-msp rukmangadhar anuj-2207 chpadmavathi sivakumar46 akshayshelke18 boyashiva9379 sharathgorrepati saikiran232 1233venkatesh bsrpavan nanda2987 sindhuja1829 mukhendra ajaysidda bivasda1 sumank792 prabhu9683 mariatta123 suresh30467 pandikkumar bijay06223 kshitij241 devops-vmr tharun-330 lokesh7023 swethamohan381 karim7262 krajesh22 harihara1818 raviteja1775 harsha20494 harika96-git anil-55 vinay2323d tariqsheikhsw praveen9177496079 saddambasha sunnygodiwal1991 13rajeev patricksunny baileyvw psamarla-rythmoskubernetes's Issues
Container without internet access
Hello there,
I managed to raise the 3 nodes following all the steps, the 3 nodes were networked and with internet access (Centos 7).
-192.168.0.7 kbworker02
-192.168.0.6 kbworker01
-192.168.0.9 kbmaster
But when I create some example PODS they are left in another network segment:
[kubeadmin @ kbmaster ~] $ kubectl get pods -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
hello-8685846c57-r9cfz 1/1 Running 1 21h 192.168.139.203 kbworker02
hello-8685846c57-tfxfp 1/1 Running 1 21h 192.168.170.76 kbworker01
hello-8685846c57-zhsrn 1/1 Running 1 21h 192.168.139.205 kbworker02
nginx-deployment-cnfbb 1/1 Running 1 23h 192.168.139.201 kbworker02
nginx-deployment-plr4s 1/1 Running 1 23h 192.168.170.73 kbworker01
ubuntu 1/1 Running 1 21h 192.168.139.204 kbworker02
And when I enter the ubuntu image, I don't get ping and it won't let me install:
[kubeadmin @ kbmaster ~] $ kubectl exec -it ubuntu - sh
ls
bin boot dev etc home lib lib32 lib64 libx32 media mnt opt ββproc root run sbin srv sys tmp usr var
ping localhost
sh: 3: ping: not found
apt update
Err:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:2 http://archive.ubuntu.com/ubuntu focal InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
**apt install iputils-ping
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package iputils-ping**
which ping
Please can you help me to solve this first problem that comes my way.
Actually what I need is to be able to reach the services that run inside the containers.
Thank you.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.