This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
podman login registry.redhat.io | |
export domain=quay.ralvares.local | |
export QUAY=/data/quay | |
mkdir -p $QUAY/postgres-quay | |
mkdir $QUAY/clair | |
mkdir -p $QUAY/config/extra_ca_certs | |
mkdir $QUAY/storage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: | |
children: | |
bootstrap: | |
hosts: | |
bootstrap.${CLUSTERID}.ho.fosltd.co.za: | |
dhcp: false | |
ipv4: ${BOOTSTRAP_IP} | |
master: | |
hosts: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -o pipefail | |
set -o nounset | |
#GLOBAL STUFF | |
VERSION="2.4" | |
BIN="/bin" | |
BIN2="/usr/bin" | |
CHA=(stable fast) #array of channels | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ oc project | |
Using project "openshift-kube-apiserver" on server "https://api.cluster-montpel-4ceb.montpel-4ceb.example.opentlc.com:6443". | |
$ oc edit kubeapiservers.operator.openshift.io/cluster | |
find /unsupportedConfigOverrides | |
and add this line servicesNodePortRange: 30000-32999 like : | |
``` | |
storageConfig: | |
urls: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.2/4.2.0/rhcos-4.2.0-x86_64-vmware.ova -o rhcos-4.2.0-x86_64-vmware.ova | |
govc import.ova -name=rhcos-4.2.0-x86_64-vmware ./rhcos-4.2.0-x86_64-vmware.ova | |
export GOVC_URL='vsphere.server.local | |
export GOVC_USERNAME='[email protected]' | |
export GOVC_PASSWORD='password | |
export GOVC_INSECURE=1 | |
export GOVC_NETWORK='NETWORK' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on the bastion host : | |
* Create 100 directory exports as persistent volumes: | |
mkdir -p /var/export/pvs/pv{1..100} | |
chown -R nfsnobody:nfsnobody /var/export/pvs/ | |
chmod -R 700 /var/export/pvs/ | |
* add a line for each export directory to /et/exports | |
for volume in pv{1..100} ; do echo Creating export for volume $volume; echo "/var/export/pvs/${volume} 192.168.0.0/24(rw,sync,all_squash)" >> /etc/exports; done; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dwojciec-osx:build dwojciec$ minishift start --iso-url file://Users/dwojciec/bin/image/minishift.iso --skip-registration -v 5 --show-libmachine-logs | |
Found binary path at /usr/local/bin/docker-machine-driver-xhyve | |
Launching plugin server for driver xhyve | |
Plugin server listening at address 127.0.0.1:57599 | |
() DBG | operation not supported by device | |
() Calling .GetVersion | |
Using API Version 1 | |
() Calling .SetConfigRaw | |
() Calling .GetMachineName | |
(minishift) Calling .GetState |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-10-24 03:30:49,648 [INFO] yum:22036:MainThread @connection.py:821 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False | |
2017-10-24 03:30:49,650 [INFO] yum:22036:MainThread @repolib.py:326 - repos updated: Repo updates | |
Total repo updates: 0 | |
Updated | |
<NONE> | |
Added (new) | |
<NONE> | |
Deleted | |
<NONE> |