[FOLLOW UP QUESTION FROM #7423]
Does the internet is required for the prometheus operator to initialize?
GOT QUESTIONS from the Workshop? You're in the right place! Post a question here and we'll get you answers.
Yes, internet access is required to install the Prometheus operator.
In fact, internet connectivity is required for anything to do with Kubernetes clusters because it needs to be able to download the Docker images which are deployed onto pods. Cheers!
[UPDATE] For clarification, this command is not the actual installation operation:
$ kubectl -n cass-operator create -f operator.yaml
In Kubernetes, the operations are abstracted from users by design with the aim of making the installation process for applications as simple as possible.
Behind the scenes, the
kubectl create command creates an operator resource (in this case the Prometheus operator) from the OperatorHub -- an online repository of operators for other applications.
In Kubernetes, operators are very complex software which in the end replace human administrators since operators provide the same operational functions that was previously manually performed by a human admin -- download software, install, configure, start/stop, maintain, upgrade, etc.
If you grasp the level of complexity that operators perform, then you should understand why it takes a long time for the behind-the-scenes installation to complete. Again, we are working with super-complex software here even though we make it look easy.
You mentioned your machine specs: "I have a Laptop with i3 processor, 2 cores with 8GB RAM." In my case, I'm running on a machine with 8 CPUs and 32GB of RAM with a 2Gbps connection and it still took a long time to complete. We recommend machines with a minimum RAM of 16GB (preferably more) to run the exercises. You have to accept all the compromises of running complex clusters on a small laptop.
6 People are following this question.