For Creation of Kubernetes cluster (GKE) on Goolge Cloud Platform please follow link.
Note: Do not execute “kubectl proxy” command on Google Cloud shell (Work station)
On Google Cloud shell create directory demo-kube
mkdir demo-kube cd demo-kube Create “demo-namespace” Kubernetes namespace
wget https://raw.githubusercontent.com/Nilesh7756/k8s-sample-php-demo/master/sample-namespace.yaml kubectl create -f sample-namespace.yaml kubectl get namespace Create Kubernetes Deployment for sample php Application
wget https://raw.githubusercontent.com/Nilesh7756/k8s-sample-php-demo/master/demo-sample-php.yaml kubectl create -f demo-sample-php.yaml kubectl get deployment -n demo-namespace Get Kubernetes POD which were created when deployment kind was created…
Read more »
This Blog will help you for installation of up and running with a local Python 3.x programming environment in CentOS 7.x.
The programming language Python was conceived in the late 1980s and its implementation was started in December 1989. Python 3.0 (also called “Python 3000” or “Py3K”) was released on December 3, 2008. Python 3 is the most current version of the language and is considered to be the future of Python.…
Read more »
As we all know about SCP Linux command to Copy the files and directories from a remote host to the local host and vice versa over SSH. Similar to that we have ‘KUBECTL CP’ to Copy the files and directories from a Kubernetes Container [POD] to the local host and vice versa.
Syntax: kubectl cp <file-spec-src> <file-spec-dest> POD in a specific container
kubectl cp <file-spec-src> <file-spec-dest> -c <specific-container> Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace…
Read more »