I am using Wnidows 11. I have just begun to learn Dockers and I have a lot of questions.
I have watched some youtube tutorials and I have been looking on Linkedin. I very much have found that it is now time to start asking questions for the purpose of clarity. I think I will start this in another discussion thread.
What I would very much like to do is follow some sort of step by step guide.
I am a software engineer and I do not like mysteries. I want to understand what everything means. For example, the first think I learned was that the command, docker ps
was very powerful to enter at the command line and gave vital information on the state of Docker. Its results are what one would expect for a windows 11 computer with miniKube. But I would very much like to know what EVERYTHING means.
running docker ps on bash without being inside minikube produces this:
CONTAINER ID | IMAGE | COMMAND | CREATED | STATUS | PORTS | NAMES |
---|---|---|---|---|---|---|
e44f97236926 | Google Cloud console | /usr/local/bin/entr⦠| 2 days ago | Up 47 hours | 127.0.0.1:51402->22/tcp, | minikube |
127.0.0.1:51403->2376/tcp, | ||||||
127.0.0.1:51405->5000/tcp | ||||||
127.0.0.1:51406->8443/tcp, | ||||||
127.0.0.1:51404->32443/tcp |
What does it all mean?
Does this result mean that minkube is in fact a container, a running image, as the definition of a container states? Please excuse the simplicity and elementary nature of this question. I think it might be useful for newbs to have a discussion thread that starts at the very absolute beginning. Sometimes things seme obvious to people and forget that it was once acquired knowledge.
EDIT: In the process of making this post, I discovered something interesting. Obviously āgcr.io
ā
means āGoogle Cloud consoleā and this is a discovery that is an indication that our minKube installed on our computer is linked to the Google cloud somehow. Can someone elaborate on this.
This was not what I literally posed in this OP. I actually pasted the URL to Googles āk8s-minikubeā and I assume that āk8s-minikube/kicbase:v0.0.40ā must the the version currently in use!
What is this command and what does it mean: ā/usr/local/bin/entrā¦ā
The five entries that appear under āportsā are reminiscent of being a left-over from a tutorial I was taking. But the description was confusing. Are they Images or PODs, or Containers, or Deployments or Services?
I think they are scaled deployments. But does this mean that they are the same thing as Images or Containers?
Since I am dumping a lot of questions here, what exactly IS curl and why is it when we run this command
What is a āServiceā?
Is Kurbernetes a service?
Is it ok to ask questions about Kurbenetes on a Docker forum?
Is a service the same thing as a deployment?
when I type from the command line:
kubectl get services
I get this
$ kubectl get services | |||||
---|---|---|---|---|---|
NAME | TYPE | CLUSTER-IP | EXTERNAL-IP | PORT(S) | AGE |
kubernetes | ClusterIP | 10.96.0.1 | 443/TCP | 2d9h | |
nginx-deployment | ClusterIP | 10.110.65.150 | 8080/TCP | 40h |
So, what is a cluster IP?
How are Ports used?
Is my dumping a ton of question lesson or improve the likelihood that they will be answered?
What is a POD?
I think I will end this OP with the information I got inside miniKube. Please enlighten me and explain what all this means. Here, I can answer some of this. MiniKube has a number of contains in the Maser Node / control_plane which are:
API SERVER
SCHEDULER
KUBE CONTROL MANAGER
CLOUD CONTROL MANAGER
etcd
Kubelet
kube-proxy
But I would like to know what each of these do. The are mentioned in the tutorial. I created the test containers. There are other containers created as part of the tutorials. And there are some system containers, it seems, that are not part of the list above that need some explanation, please.