Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 KUBERNETES


  Kubernetes Authentication & Authorization 101

If we want to build a system with user modules, Authentication and Authorization are something that we can never ignore, though they could be fuzzy to understand.Authentication (from Greek: αὐθεντικÏŒς authentikos, “real, genuine”, from αὐθέντης authentes, “author”) is the act of proving an assertion, such as the identity of a computer system user — from wikiAuthorization is the function of specifying access rights/privil...

2,288 0       KUBERNETES AUTHENTICATION AUTHORIZATION RBAC


  Install Kubernetes with minikube and docker on Ubuntu

When someone just wants to play around Kubernetes on its local environment without accessing to Cloud provider resources, one can set Kubernetes up on local environment with minikube with single node mode.This post will provide a simple guideline on how to set up KUbernetes with minikube and docker on Ubuntu.Before all the steps can be started, you may need to first set up kubectl which is a command line tool to operate on Kubernetes resources.Post that, can ensure that docker is installed on Ubuntu, in case it's not installed, can follow below steps.Update local software repository databasesu...

1,812 0       UBUNTU DOCKER KUBERNETES MINIKUBE


  A walk through of different ways accessing Kubernetes application

When a web application is deployed on KUbernetes, to access the application, there must be some set up needs to be done so that external users can access the resource within the Kubernetes clusters. IN this post, we will walk through different ways to access application from outside.Before exploring different ways, let's set up a simple nginx eb application which will just serve the nginx welcome message when loading.# deployment.yamlapiVersion: apps/v1kind: Deploymentmetadata: name: nginx-deploymentspec: selector: matchLabels: app: nginx replicas: 2 # tells deployment to run 2 pods...

5,468 4       LOADBALANCER NODEPORT CLUSTERIP SERVICE PORT FORWARD KUBERNETES INGRESS


  Breakdown Kubernetes Container Runtime

Keeping on learning Kubernetes piece by piece and having a deeper understanding of its advantages, I am no longer shocked at its rapid development and popularity.Though backed by big companies like Google is undoubtedly the push, its design, features, and convenience are the biggest attraction. Most of all, it disintegrates the monolithic Internet system governance and lifecycle and offers a new management method.Kubernetes is a set of concepts, including various resource types like Pod, Deployment, control plane, and different components like Node, APIServer, etcd, etc., which may take years ...

1,971 0       CONTAINER KUBERNETES


  Kubernetes: Docker out

Recently,The hottest news in the Kubernetes circle that docker will be deprecated has been confirmed by the release of 1.20.Docker support in the Kubelet is now deprecated and will be removed in a future release. The Kubelet uses a module called “dockershim” which implements CRI support for Docker and it has seen maintenance issues in the Kubernetes community. We encourage you to evaluate moving to a container runtime that is a full-fledged implementation of CRI (v1alpha1 or v1 compliant) as they become available. — from Kubernetes 1.20 changelogThe news caused a tremend...

3,184 0       KUBERNETES DOCKER DOCKERSHIM


  Build a Kubectl Plugin from Scratch

by authorThe command-line tool kubectl is indispensable when using Kubernetes. You need it to query related Pod and Service information both in developing or performing some maintenance operations, such as events, scale, rolling update, etc.However, when using kubectl, there are many inconveniences. Though Kubernetes is officially maintaining kubectl¹, and you can submit the problems, improvement, and even PR in its Github Issues, you still have to wait long before its release.The most common solution is Kubectl-Plugin Pattern²Plugins extend kubectl with new sub-commands, allowing fo...

4,177 1       GOLANG PLUGIN KUBECTL KUBENETES


  Update & Delete Kubernetes resources in one-line command

It recently troubles me that my GKE cluster is managing more and more resources and causing difficulties in maintenance, one of which involves how to delete resources properly.Next, I will explain step by step the difficulties I encountered in my work and how I finally used the combination of bash commands and kubectl to implement the edition of Kubernetes objects through one-line command.In generalThe following are the basic operations that almost every Kubernetes user takes. Check 👉 the cheatsheet if you’re not familiar with the process.Delete a single resource throu...

6,225 1       KUBERNETES