mialeevs / kubernetes_installation_docker Goto Github PK
View Code? Open in Web Editor NEWInstall Kubernetes on Ubuntu 22.04 with Docker
Install Kubernetes on Ubuntu 22.04 with Docker
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
root@master:/home/ubuntu# curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt- key(8)).
OK
Err:6 https://packages.cloud.google.com/apt kubernetes-xenial Release 404 Not Found [IP: 142.250.183.174 443]
root@master:/home/ubuntu# sudo apt-key del A362B822F6DEDC652817EA46B53DC80D13EDEF05
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
E: Unable to locate package kubelet
E: Unable to locate package kubeadm
E: Version '1.26.5-00' for 'kubectl' was not found
I noticed that this URL: "https://packages.cloud.google.com/apt/doc/apt-key.gpg" is unreachable. Please, Is there any other way to get the Key?
I've created a deployment called foo using image 'dgkanatsios/simpleapp' (a simple server that returns hostname) and 3 replicas, I've declared that containers in this pod will accept traffic on port 8080.
Then, I've created a temp busybox pod and I'm trying to hitting them with wget on port 8080. The result of my tests is that I only can get the pods that have been automatically created on the same node than the busybox. Then, I've created a service ClusterIP that exposes the deployment on port 6262 and I've retry the test within the container busybox but this time, using the wget with the service clusterIp:6262 and neither can connect to them.
hi,
I'm running your script on a new installation of Ubuntu 22.04.3:
root@k8s-cp:~# wget https://storage.googleapis.com/golang/getgo/i
nstaller_linux
chmod +x ./installer_linux
./installer_linux
source ~/.bash_profile
--2023-10-17 09:49:22-- https://storage.googleapis.com/golang/getgo/installer_linux
Resolving storage.googleapis.com (storage.googleapis.com)... 172.217.17.251, 142.250.184.155, 142.250.187.123, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|172.217.17.251|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5179246 (4.9M) [application/octet-stream]
Saving to: ‘installer_linux.3’
installer_linux. 100%[========>] 4.94M 6.04MB/s in 0.8s
2023-10-17 09:49:23 (6.04 MB/s) - ‘installer_linux.3’ saved [5179246/5179246]
Welcome to the Go installer!
Downloading Go version go1.21.3
time 2023-10-09T17:04:35Z to /root/.go
This may take a bit of time...
Downloading Go from 400 Bad Request failed with HTTP status %!s(MISSING)
-bash: /root/.bash_profile: No such file or directory
root@k8s-cp:~#
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.