In this article, we will build multiple branch pipeline with Jenkins and Kubernetes step by step
Jenkins is an open source continuous integration and delivery tool that enable developers automatically build, test and deploy application
To know more about Jenkins https://www.jenkins.io/
The Multibranch Pipeline enable developer to implement different Jenkinsfiles for different branches of the same project. It’s can discover branches and execute pipeline automatically with Jenkinsfiles in version control for better management pipeline
To know more about Multibranch Pipeline on Jenkins https://www.jenkins.io/doc/book/pipeline/multibranch/
Jenkins is up and running
Manage Jenkins → Manage Plugins → Search “Blue Ocean” and “Kubernetes CLI…
Certified Kubernetes Administrator (CKA) program is to provide the assurance to Kubernetes administrators/Service provider with qualified skills and knowledge. If company would like to become a Kubernetes Certified Service Provider (KCSP), It’s required to have at least three employee who pass the CKA exam.
In addition, If you would like to take the Certified Kubernetes Security Specialist (CKS) for securing container-based applications best practices, the CKA certification is pre-required before the CKS.
In this article, I would like to share the kubernetes certificate exam experience and questions examples.
There are total 15–20 questions with 120 mins for CKA exam. For…
To support Windows application development with a container (e.g. NET, PowerShell, etc.), we should build the Windows worker node to support the application running on top of it.
To be honest, I think the Windows container needs more time to mature before it can provide a lightweight design and base image to make it more efficient. However, if you want to see a trial, you can follow the steps below to set up a worker node and application on top of AWS EKS.
Kubernetes clusters must be up and running with at least one Linux-based worker node to run the…
In this article, I will introduce the Open Policy Agent, Kubernetes Admission Controller, and how to apply a policy, with step-by-step guidelines.
The Open Policy Agent (OPA) is an open-source policy engine that decouples policy decision-making from service. It enables Policy as Code, which allows the policy to be automated, tested, and reused with version control. It can unify policy enforcement across different systems for proper management and review, for example, Linux, Kubernetes, CI/CD pipelines, API gateway, application, etc.
Open Policy Agent can be deployed as an admission controller in Kubernetes. You can customize your own policy as code via…
KubeFed (Kubernetes Cluster Federation) allows you to use a single Kubernetes cluster to coordinate multiple Kubernetes clusters. It can deploy multiple-cluster applications in different regions and design for disaster recovery.
To learn more about KubeFed: https://github.com/kubernetes-sigs/kubefed
Kubernetes clusters must be up and running:
In this article, we’ll have three Kubernetes clusters. One is for installing Federation Control Plane as the host cluster (named lab). The others are for deploying applications named lab-a and lab-b.
Kubernetes supports autoscaling for scaling up your cluster of worker nodes and application pods when you need it. It can also scale it down to save money.
There are three types of Kubernetes autoscaling. In this article, we will introduce them individually and explore each type step by step.
In this article we will go through kubeless installation on kubernetes, then using the flask to build one simple serverless web application
Flask is a Python lightweight web application development framework with simplicity and extensibility. Flask is called “microframework” because of using a simple core and extensions are used to add other functions
To know more about Flask https://flask.palletsprojects.com/en/1.1.x/
Kubeless is a Kubernetes-native serverless framework. It can help you to deploy your small code, functions without worrying about the infrastructure. Similar with AWS Lambda, Azure Functions, and Google Cloud Functions but an open source serverless solution.
There are 3 ways you can expose your service on kubernetes for external accessing
2. NodePort the service address would be your worker node with node port assigned
3. Ingress (Note. there is a pre-requisite for AWS ALB Ingress Controller https://docs.aws.amazon.com/eks/latest/userguide/alb-ingress.html)
We can use External DNS to sync the exposed service and ingress with AWS Route53
To know more about Kubernetes external DNS https://github.com/kubernetes-sigs/external-dns
If EKS version > 1.13, you can use an IAM service account directly as below
aws route53 create-hosted-zone --name "external-dns-test.my-org.com." --caller-reference "external-dns-test-$(date +%s)"
2. Create IAM policy
The Certified Kubernetes Application Developer (CKAD) program has been developed by the Cloud Native Computing Foundation (CNCF), in collaboration with The Linux Foundation, to help expand the Kubernetes ecosystem through standardized training and certification
CKAD exam required the hands-on, so you should not only understand the concept but also practice (a lot!) to familiar with the commands line
There are two major materials that helpful for me when preparing for the exam :)