openshift policy management

Managing user & group policy in openshift with oc utility  [root@master ~]# oc adm Administrative Commands Commands for managing a cluster are exposed here. Many administrative actions involve interaction with the command-line client as well. Usage: oc adm [flags] Component Installation: router Install a router ipfailover Install an IP failover group to a set of … Continue reading openshift policy management

openshift 3.11 installation 3-node cluster

Make sure you have 3 nodes each with 4 cpu and 4 GB Ram Add hosts entries in local hosts file as per your requirement . EX:  10.142.0.2 master.openshift.com master 10.150.0.2 infra.openshift.com infra 10.142.0.3 compute.openshift.com compute Also add below repo in all  nodes  vim /etc/yum.repos.d/ocp.repo [3.11] name=ocp 3.11 packages baseurl=https://cbs.centos.org/repos/paas7-openshift-origin311-testing/x86_64/os/ enabled=1 gpgcheck=0 [root@master ~]# vim … Continue reading openshift 3.11 installation 3-node cluster

Working with Jenkinsfile from scratch 

Create pipeline jenkins job Select script path as jenkinsfile Run the job Create a github repo with jenkinsfile Copy the repo url Add scm url in jenkins job Error shown in above screen shot is due to absence of git bin in jenkins server . [root@jenkins ~]# yum install git -y Rerun the jenkins job … Continue reading Working with Jenkinsfile from scratch