This document is to provide a detailed guideline how I install this Docker App in Windows.

Open a PowerShell console as Administrator.

Run the following command in PowerShell

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

enable the Hyper-V role using DISM:

Open up a PowerShell…

To show JMeter report in Devops

2. Edit the Jenkins Pipeline file. Define the Selection for whether to go for JMeter test choice.

3. Use script to conduct the JMeter script with output.

4. Convert the output to Report.

5. Published it to Jenkins.

Standard Openshift Security Context Constraints do not allow to run as root.

Here is the method:

oc adm policy add-scc-to-user anyuid -z default

re-deploy the application. You can use root do access.

oc adm policy remove-scc-from-user anyuid -z default

The purpose is to save data in PVC. For example, Jenkins…

Following the previous one, I installed Kibana in Openshift 4.3

update the hosts file to previous installed elasticsearch hosts

server.name: kibana
server.host: “0”
elasticsearch.hosts: [ “http://******" ]
xpack.monitoring.ui.container.elasticsearch.enabled: true

Please note, the hosts location can be external or interneal

external host is the openshift exposed URL

internal…

Welcome here, just want to share the experience that how I installed it.

1. Create Docker file.

Download Elasticseach docker from server

docker pull docker.elastic.co/elasticsearch/elasticsearch:7.6.2

create local Dockerfile

docker build . docker-registry.default.svc:5000/project-name/elasticsearch:7.6.2

Login to Openshift 4.3.x

oc login -u ****

Create service account, secret and token for docker push

oc describe sa jenkins oc describe secret jenkins-dockercfg-lm9s7

docker login -u xxx -p xxxx docker-registry.default.svc:5000

then

docker push docker-registry.default.svc:5000/project-name/elasticsearch:7.6.2

Go to Openshift Webconsole

Developer → add Container Image -> project-name/elasticsearch:7.6.2

Administration -> Workload -> Deployment ->Environment

Name: discovery.type

Value: single-node

restart pod.

Work done.

Songxibin

solution architect

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store