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...

kubernetes Error

I have encountered the following error while executing the stages of the pipeline. I have used the Plugins Kubernetes Continuous Deploy 2.3.1 and Jackson 2 API 2.11.3 both of the plugins cause the below issue. Error Log:[Pipeline]...

Saturday, 26 September 2020

Important Concepts for Kubernetes

 Nodes Kubernetes runs your workload by placing containers into Pods to run on Nodes. A node may be a virtual or physical machine, depending on the cluster. Each node contains the services...

Kubernetes Components

There are two types of components are avalible for the Kubernetes. 1.Control Plane Components 2.Node Components1.Control Plane ComponentsThe control plane's components make global decisions about the cluster (for example, scheduling), as well as...