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
17:34 $ bin/openshift-install create cluster --dir test --log-level debug | |
DEBUG Fetching "Terraform Variables"... | |
DEBUG Fetching dependencies of "Terraform Variables"... | |
DEBUG Fetching "Install Config"... | |
DEBUG Fetching dependencies of "Install Config"... | |
DEBUG Fetching "Cluster ID"... | |
DEBUG Generating "Cluster ID"... | |
DEBUG Fetching "Email Address"... | |
DEBUG Generating "Email Address"... | |
DEBUG Fetching "Password"... |
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
[prkumar@local image]$ pwd | |
/home/prkumar/.cache/openshift-install/libvirt/image | |
[prkumar@local image]$ ll | |
total 8429340 | |
-r--r--r--. 1 prkumar prkumar 1762721792 Nov 12 12:02 5d9e7ad6af87c256f0729ba0b8fcab21 | |
-r--r--r--. 1 prkumar prkumar 1760821248 Nov 1 12:01 7722a0531a376a927e7dbd7fac58b2c9 | |
-r--r--r--. 1 prkumar prkumar 1673003264 Oct 22 11:49 b94474a2755fe45df7bd856789d830c9 | |
-r--r--r--. 1 prkumar prkumar 1762000896 Nov 9 10:25 c9fc84b57c827093733a9c77baabf94b | |
-r--r--r--. 1 prkumar prkumar 1673068800 Oct 18 13:53 de7ed838459359368283c7926c81dd73 |
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
[core@test1-master-0 ~]$ kubectl get pods --all-namespaces | |
NAMESPACE NAME READY STATUS RESTARTS AGE | |
kube-system etcd-member-test1-master-0 1/1 Running 0 1h | |
kube-system kube-flannel-8jq4j 2/2 Running 2 1h | |
kube-system kube-flannel-qmn2c 2/2 Running 0 1h | |
kube-system kube-proxy-jdzzz 1/1 Running 0 1h | |
kube-system kube-proxy-mfstb 1/1 Running 0 1h | |
kube-system kube-scheduler-qgbm4 |
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
Resources | |
--------- | |
bootstrap: 16GB HDD/2 CPUS/2GB Memory | |
master: 16GB HDD/2 CPUS/3GB Memory | |
test1-worker: unknown HDD/2 CPUS/2GB Memory | |
Time-Taken (on office-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
- Compile oc platform native binary. | |
- git clone https://github.com/openshift/origin.git | |
- cd origin | |
- git checkout release-3.11 | |
- make | |
- Binary will be available in the _output/local/bin/linux/amd64/ (linux) or similar for other platform | |
$ mkdir -p ~/.minishift/cache/oc/v3.11.0/linux/ (or ~/.minishift/cache/oc/v3.11.0/darwin or ~/.minishift/cache/oc/v3.11.0/windows as per platform) | |
$ cp <your compilied oc binary> ~/.minishift/cache/oc/v3.11.0/linux/ (or whatever your platform specific path) | |
$ minishift config set skip-check-openshift-version true |
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
@@ -46,10 +46,18 @@ func StartProxy(proxyPort int, proxyUpstreamAddr string) { | |
// set custom CA | |
setCA(minishiftTLS.CACert, minishiftTLS.CAKey) | |
+ f, err := goos.OpenFile("/tmp/proxy_access.log", goos.O_APPEND|goos.O_CREATE|goos.O_WRONLY, 0644) | |
+ if err != nil { | |
+ log.Fatal(err) | |
+ } | |
+ | |
+ logger := log.New(f, "proxy", log.Lshortfile) |
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
# If any of the following macros should be set otherwise, | |
# you can wrap any of them with the following conditions: | |
# - %%if 0%%{centos} == 7 | |
# - %%if 0%%{?rhel} == 7 | |
# - %%if 0%%{?fedora} == 23 | |
# Or just test for particular distribution: | |
# - %%if 0%%{centos} | |
# - %%if 0%%{?rhel} | |
# - %%if 0%%{?fedora} | |
# |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch", | |
"type": "go", | |
"request": "launch", | |
"mode": "debug", | |
"remotePath": "", | |
"port": 2345, |
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
Distro Kernel path RAM disk path | |
========================================================================================== | |
Fedora /isolinux/vmlinuz0 /isolinux/initrd0.img | |
RHEL7/CentOS7 /isolinux/vmlinuz0 /isolinux/initrd0.img | |
openSUSE /boot/i386/loader/linux /boot/i386/loader/initrd | |
Mandriva /i586/isolinux/alt0/vmlinuz /i586/isolinux/alt0/all.rdz | |
Ubuntu /casper/vmlinuz.efi /casper/initrd.lz | |
Debian /install.386/vmlinuz /isolinux/initrd.img | |
Arch /arch/boot/x86_64/vmlinuz /arch/boot/x86_64/archiso.img |
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
# Here I am using forked version adb-utils (https://github.com/projectatomic/adb-utils) | |
# which I cloned to my box and add remote to upstream also | |
git clone [email protected]:praveenkumar/adb-utils.git | |
git remote add upstream https://github.com/projectatomic/adb-utils | |
# My git remote will be look like | |
git remote -v | |
origin [email protected]:praveenkumar/adb-utils.git (fetch) |