Showing posts with label kubernetes. Show all posts
Showing posts with label kubernetes. Show all posts

Thursday, 29 July 2021

Unable to connect to server: x509: certificate signed by unknown authority

Today I was facing some strange issue, when I was trying to connect to the Kubernetes in remote sever got the error as "unable to connect to server: x509: certificate signed...

Accessing Remote Kubernetes server using the Kubectl

Below are the configuration required to make the kubectl, access the K8s running in a remote server. So Searched through the documentation and found the following good solution that is 100%...

Sunday, 18 July 2021

Persistent Volumes (PV) Storing Files in Kubernetes

We can go through the definition of PV and PVC First. A PersistentVolume (PV) is a piece of storage in the cluster that has been provisioned by an administrator or dynamically provisioned...

Kubernetes read local docker images

Follow the below steps to read the docker images from local instead of pulling them every time from the docker hub. By default, it always reads the images from the docker...

Tuesday, 29 June 2021

Running Batch Files in Kubernetes (KSH Files)

 Check out the files from the Github here.Navigate to the Folder location where the checkout is done. Execute the Below commands. C:\Users\Syed\Hello-K8s_Job> kubectl create configmap hello --from-file=hello.kshconfigmap/hello createdIt creates the config map...

Sunday, 8 November 2020

Creating CI/CD Pipeline for Deploying into the kubernetes using Jenkins.

Create the Pipeline script for the Following purpose.1. Checkout the Code from Git.2. Build it using the Maven.3. Create the Docker Image.4. Push it to the Docker Hub.5. Deploy the Docker...