Skip to content

Instantly share code, notes, and snippets.

View get2arun's full-sized avatar

arunp get2arun

  • Freelance
  • Santiago, Chile
View GitHub Profile
@get2arun
get2arun / minishift-oc-cluster-up-error
Created October 17, 2019 15:47
oc cluster up - Error: error creating node config: could not run "create-kubelet-flags"
desktop-arun:~# oc cluster up -v 5
I1017 12:00:36.720040 8182 up.go:246] Using "Always" as default image pull policy
Getting a Docker client ...
I1017 12:00:36.722789 8182 client.go:312] Will try Docker connection with host (DOCKER_HOST) "tcp://192.168.99.100:2376"
I1017 12:00:36.722801 8182 client.go:317] DOCKER_TLS_VERIFY=1
I1017 12:00:36.722809 8182 client.go:320] DOCKER_CERT_PATH=/root/.minishift/certs
Checking if image openshift/origin-control-plane:v3.11 is available ...
I1017 12:00:36.765381 8182 helper.go:144] Inspecting Docker image "openshift/origin-control-plane:v3.11"
I1017 12:00:36.767255 8182 helper.go:147] Image "openshift/origin-control-plane:v3.11" found: &types.ImageInspect{ID:"sha256:4c3febc8a2c9c10cc9e86f0619b1bf96222895138f58213b782bd9ae1c1bca5a", RepoTags:[]string{"docker.io/openshift/origin-control-plane:v3.11"}, RepoDigests:[]string{"docker.io/openshift/origin-control-plane@sha256:01254cfe64294603fa31f2610a4f601e18b4f32b1e6a933d35ba583f7fb5ea8c"}, Parent:"", Comment:"
@get2arun
get2arun / minishift_start_CACHE_MISS
Created October 17, 2019 15:55
minishift start - CACHE MISS
minishift start
-- Starting profile 'minishift'
-- Using proxy for the setup
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.11.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.11.0' is supported ... OK
-- Checking if requested hypervisor 'virtualbox' is supported on this platform ... OK
-- Checking if VirtualBox is installed ... OK
-- Checking the ISO URL ... OK
@get2arun
get2arun / minishift_authentication_information
Last active October 22, 2019 20:38
minishift_authentication_information for stackoverflow
root@desktop:~# oc cluster up
Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.11 is available ...
Creating shared mount directory on the remote host ...
Determining server IP ...
Checking if OpenShift is already running ...
Checking for supported Docker version (=>1.22) ...
Checking if insecured registry is configured properly in Docker ...
Checking if required ports are available ...
Checking if OpenShift client is configured properly ...
docker registry log from latest rolled out pod:
================================================
root@desktop:# oc logs -n default pod/docker-registry-4-dd2r8
time="2019-10-22T20:46:49.008078283Z" level=info msg="start registry" distribution_version=v2.6.2+unknown go.version=go1.10.3 instance.id=68fd5011-09a9-4789-ba2f-c41b50fb7213 openshift_version=v3.11.0+9cca740-6
time="2019-10-22T20:46:49.009143239Z" level=info msg="quota enforcement disabled" go.version=go1.10.3 instance.id=68fd5011-09a9-4789-ba2f-c41b50fb7213
time="2019-10-22T20:46:49.012170942Z" level=info msg="redis not configured" go.version=go1.10.3 instance.id=68fd5011-09a9-4789-ba2f-c41b50fb7213
time="2019-10-22T20:46:49.012508401Z" level=info msg="Starting upload purge in 45m0s" go.version=go1.10.3 instance.id=68fd5011-09a9-4789-ba2f-c41b50fb7213
time="2019-10-22T20:46:49.081458188Z" level=info msg="using openshift blob descriptor cache" go.version=go1.10.3 instance.id=68fd5011-09a9-4789-ba2f-c41b50fb7213
time="2019-10-22T20:46:49.083729269Z
root@desktop:~# minishift start
-- Starting profile 'minishift'
-- Using proxy for the setup
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.11.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.11.0' is supported ... OK
-- Checking if requested hypervisor 'virtualbox' is supported on this platform ... OK
-- Checking if VirtualBox is installed ... OK
-- Checking the ISO URL ... OK
@get2arun
get2arun / kubectl-docker-public-image-pull-failed
Created November 4, 2019 23:12
kubectl-docker-public-image-pull-failed
consul-helm# kubectl version --short
Client Version: v1.15.0
Server Version: v1.12.4
consul-helm# kubectl describe pod consul-1572904924-ui-test-jf7fb
Name: consul-1572904924-ui-test-jf7fb
Namespace: dev-poc-namespace
Priority: 0
Node: 6b8db184-1f0c-4660-906f-e6d99e123890/172.15.0.5
@get2arun
get2arun / helm-install-consul-describe-output
Created November 5, 2019 21:52
helm-install-consul-describe-output
consul-helm# kubectl describe pod consul-1572990101-ui-test-kds7u
Name: consul-1572990101-ui-test-kds7u
Namespace: dev-poc-namespace
Priority: 0
Node: 6b8db184-1f0c-4660-906f-e6d99e123890/172.15.0.5
Start Time: Tue, 05 Nov 2019 18:41:54 -0300
Labels: <none>
Annotations: helm.sh/hook: test-success
Status: Pending
IP:
@get2arun
get2arun / helm-install.log
Created November 6, 2019 01:04
helm-install.log
helm get all chart-1573001538
NAME: chart-1573001538
LAST DEPLOYED: Tue Nov 5 21:52:21 2019
NAMESPACE: dev-poc-namespace
STATUS: deployed
REVISION: 1
TEST SUITE: None
USER-SUPPLIED VALUES:
null
@get2arun
get2arun / nginx-root-directory
Created November 11, 2019 20:52
nginx-root-directory
root@nginx-cms-deployment-84f6dc4bd9-5jthm:/etc/nginx# ls -l /usr/share/nginx/html
total 88
-rw-r--r-- 1 root root 494 Oct 22 14:30 50x.html
-rw-r--r-- 1 root root 1130 Nov 11 19:07 asset-manifest.json
-rw-r--r-- 1 root root 841 Nov 11 19:07 bar-chart.svg
-rw-r--r-- 1 root root 1153 Nov 11 19:07 call-answer.svg
-rw-r--r-- 1 root root 3870 Nov 11 19:07 favicon.ico
-rw-r--r-- 1 root root 3038 Nov 11 19:07 index.html
-rw-r--r-- 1 root root 612 Oct 22 14:30 index.html.old
-rw-r--r-- 1 root root 5347 Nov 11 19:07 logo192.png
@get2arun
get2arun / index.html.from.source.formatted
Created November 11, 2019 21:03
index.html.from.source.formatted
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="/planes_poc/favicon.ico" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app" />
<link rel="apple-touch-icon" href="logo192.png" />