Installation of elasticsearch and kibana will explain under this topic.
Step1: Create new service account and give privileged permission for this service account. We will use this service account in the containers to run specific commands that needs the root permission. And we will use the statefulset for elasticsearch installation.
Step2: Add Tag your image and create image pull secret. We have been tagged image for nexus repository . If you use the internal registry you have not to use image pull secret, just you must pull the image from docker repository image and add the new tag then push the image internal registry of openshift. I added all commands for image pulling and tagging on the below code space.
Step3: Create service resources to access and establish the new connection between pods.
Step4: Create the application yaml file like below and edit the related field for your environment.
Step5: Create persistent volume claim for kibana.
Step6: Create kibana service to access the kibana dashboard and interface.
Step7: Create deployment file to deploy the application.
Step8: Create Route to access the kibana and dash board vith openshift interface.
2 Responses
oncelikle yazmiş olduğunuz teknik adımlar google de bir tek burada mevcut.
kibana.yml de image de elasticsearch image kullanılmış sanırım yazı hatasi oldu orada.
elasticsearch image yerine kibana nin image olmalıydı. teşekkurler
image: /repository//elasticsearch:7.16.2
yerine
image: /repository//kibana:7.16.2
bu dokuman kullnarak kurmak isteyen olursa diye yorum yazdim 🙂
Merhabalar,
Haklısınız, hjatalı olmuş çok teşeşkkür ederim yardımınız için:)
Teşekkürler.