[FOLLOW UP QUESTION FROM #7423]
Does the internet is required for the prometheus operator to initialize?
Does the internet is required for the prometheus operator to initialize?
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.
Hi Erick,
Actually I did not mean the question for operator installation , because I already installed it using
kubectl -n cass-operator create -f ./prometheus_grafana/prometheus/operator.yaml
After installing the operator as you have told, I have waited for more than one and half hours with kubectl running at 45451.
I even tried checking the same command once again which tells
Error from server(already exists) : <filelocation listed> "prometheus" already exists.
Then i created an instance with this command:
kubectl -n cass-operator apply -f ./prometheus_grafana/prometheus/instance.yaml
//My output is again with same error:
error: unable to recognize "./prometheus_grafana/prometheus/instance.yaml": no matches for kind "Prometheus" in version "monitoring.coreos.com/v1"
What do I do now? How do I manage this issue?
Any help would be very much appreciable. :))
did you ever get to this point?
NAME READY STATUS RESTARTS AGE prometheus-operator-cc5458b99-tbgx6 1/1 Running 0 13m
You can check if the pod is running:
kubectl get pods -n cass-operator
Thanks for your patience with this
Hi bettina,
I'm not getting this.. I have waited for this more than hours.....
Update: let me share my screenshot with you.
I think there's a misunderstanding here @chandrasekar.b03_190734. Let me update my answer for clarity. Cheers!
Hi Erick,
Fron the updates above, you are trying to say that I'm not be able to run the week 5 exercise on my laptop.
So far, on week 3 & week 4 due to latency issue for astra instance I'm not able to run exercises on my local machine (python as well as Java).
Now on week 5, i was struck at the Prometheus instance step. (I think I have been like Golum in all three weeks)
Hope I should be able to sucessfully run week 6 exercises. Let me focus that. :)
BTW, thanks for letting me know about the real scenario with the operator and my resources.
6 People are following this question.
Isn't the table name video_ratings_by_user in the week 2 workshop misleading?
When is the deadline for the hackathon?
Why is my pod in pending status?
Why am I not able to upload my secure bundle connect via Getting Started with Astra UI?
Python workshop code unable to connect to Astra instance from Windows machine
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use