Kubernetes

How to create docker registry credentials using kubectl

Dive into our comprehensive guide on seamlessly creating Docker registry credentials with kubectl. Whether you’re a beginner or an experienced Kubernetes administrator, this article demystifies the process of securely managing Docker registry access. Learn the step-by-step method to generate and update your regcred secret for Docker registry authentication, ensuring your Kubernetes deployments can pull images without a hitch. Perfect for DevOps professionals and developers alike, this tutorial not only simplifies Kubernetes secrets management but also introduces best practices to maintain continuous access to private Docker images. Enhance your Kubernetes skills today and keep your containerized applications running smoothly.

How to create docker registry credentials using kubectl Read More »

Deploy kubernetes dashboard in kss cluster.

Deploying Kubernetes Dashboard in K3S Cluster

Get the latest Kubernetes Dashboard and deploy Create service account and role In admin-service user.yaml, enter the following values: In admin-user-role.yaml, enter the following values: Now apply changes to deploy it to K3S cluster: Expose service as NodePort to access from browser In edit mode change type: ClusterIP to type: NodePort. And save it. Your

Deploying Kubernetes Dashboard in K3S Cluster Read More »

Kubernetes bare metal using kss, metallets, and kss.

Setup Kubernetes Cluster using K3S, MetalLB, LetsEncrypt on Bare Metal

Setup K3S Cluster By default, Rancher K3S comes with Traefik 1.7. We will setup K3S without Traefik ingress in this tutorial. Execute the above command on master node 2 to setup HA.Validate cluster setup: Make sure you have HA Proxy Setup: We will use above command output value to join worker nodes: MetalLB Setup Create

Setup Kubernetes Cluster using K3S, MetalLB, LetsEncrypt on Bare Metal Read More »

Kubernetes cluster setup with raspberries and a kubernetes cluster.

Raspberry Pi 4 K3S cluster setup

In this tutorial, I will show you how to set up a lightweight Kubernetes cluster using rancher k3s. My current Raspberry Pi 4 configuration: Hostname RAM CPU Disk IP Address k3s-master-1 8 GB 4 64 GB 192.168.1.10 k3s-worker-node-1 8 GB 4 64 GB 192.168.1.11 k3s-worker-node-2 8 GB 4 64 GB 192.168.1.12 Prerequisite set values as shown below: Apply changes by executing

Raspberry Pi 4 K3S cluster setup Read More »

A yellow padlock on a wooden door.

How to generate self-signed certificate in Linux

In this tutorial, I will be using CentOS 7 to generate self-signed certificates. You can use any Linux operating system as long as it is Openssl install. To install Openssl follow the below guide: Openssl installation CentOS, Redhat, Fedora: Ubuntu, Debian Generating certificate with password Command: Interactive view: Verify output Generating certificate without password Command:

How to generate self-signed certificate in Linux Read More »

A black and white photo of a warehouse full of boxes.

How to Deploy MySQL database on Digital Ocean Managed Kubernetes Cluster

NOTE: This tutorial assumes you know how to connect to a Kubernetes cluster. Create secrets to securely store MySQL credentials Output: Persistant volume and MySQL deployment Execute the below command to create persistent volume: Output: Execute the below command to deploy MySQL pod: Output: Exposing MySQL as a Service Output: Output:

How to Deploy MySQL database on Digital Ocean Managed Kubernetes Cluster Read More »

Scroll to Top