All Projects → mikejoh → cka-exam-clusters

mikejoh / cka-exam-clusters

Licence: other
Certified Kubernetes Administrator exam cluster(s) for training!

Programming Languages

shell
77523 projects
HCL
1544 projects

Projects that are alternatives of or similar to cka-exam-clusters

deploy
Deploy Development Builds of Open Cluster Management (OCM) on RedHat Openshift Container Platform
Stars: ✭ 133 (+565%)
Mutual labels:  k8s, k8s-cluster
tichi
TiChi ☯️ contains the tidb community collaboration automation basic framework and tool set.
Stars: ✭ 36 (+80%)
Mutual labels:  k8s, k8s-cluster
k8s-graph
Visualize your Kubernetes (k8s) cluster
Stars: ✭ 23 (+15%)
Mutual labels:  k8s, k8s-cluster
K9s
🐶 Kubernetes CLI To Manage Your Clusters In Style!
Stars: ✭ 14,585 (+72825%)
Mutual labels:  k8s, k8s-cluster
kubernetes the easy way
Automating Kubernetes the hard way with Vagrant and scripts
Stars: ✭ 22 (+10%)
Mutual labels:  k8s, k8s-cluster
multi-master-kubernetes
Multi-master Kubernetes cluster on Exoscale
Stars: ✭ 65 (+225%)
Mutual labels:  k8s, k8s-cluster
stackstorm-ha
K8s Helm Chart (βeta!) that codifies StackStorm (aka "IFTTT for Ops" https://stackstorm.com/) Highly Availability fleet as a simple to use reproducible infrastructure-as-code app
Stars: ✭ 74 (+270%)
Mutual labels:  k8s, k8s-cluster
aws-eks-orb
An orb to simplify deployments to Amazon Elastic Container Service for Kubernetes (Amazon EKS)
Stars: ✭ 16 (-20%)
Mutual labels:  k8s
dockerfiles
Dockerfile & kubernetes Yaml Templates
Stars: ✭ 44 (+120%)
Mutual labels:  k8s
laravel-docker-k8s
Laravel using Docker and Kubernetes
Stars: ✭ 60 (+200%)
Mutual labels:  k8s
gimletd
The Gitops Release Manager
Stars: ✭ 24 (+20%)
Mutual labels:  k8s
brauzie
Awesome CLI for fetching JWT tokens for OAuth2.0 clients
Stars: ✭ 14 (-30%)
Mutual labels:  k8s
ProxyInjector
A Kubernetes controller to inject an authentication proxy container to relevant pods - [✩Star] if you're using it!
Stars: ✭ 77 (+285%)
Mutual labels:  k8s
kube-dump
Backup a Kubernetes cluster as a yaml manifest
Stars: ✭ 142 (+610%)
Mutual labels:  k8s
couchdb-operator
prototype kubernetes operator for couchDB
Stars: ✭ 17 (-15%)
Mutual labels:  k8s
memcached
Memcached Operator for Kubernetes
Stars: ✭ 18 (-10%)
Mutual labels:  k8s
kubectl-images
🕸 Show container images used in the cluster.
Stars: ✭ 153 (+665%)
Mutual labels:  k8s
towards5gs-helm
Open-source project providing Helm charts for deploying Free5GC and UERANSIM on a Kubernetes cluster
Stars: ✭ 53 (+165%)
Mutual labels:  k8s
CKS
Certified Kubernetes Security Specialist Exam Preparation Guide
Stars: ✭ 32 (+60%)
Mutual labels:  certified-kubernetes-administrator
spellcard
A Leiningen template for k8s deployment automation.
Stars: ✭ 15 (-25%)
Mutual labels:  k8s

CKA exam cluster(s) for training!

Please note that this repository is not actively maintained anymore!

In this official CNCF document, with some tips for you who will try to do the CKA exam, there's a table of the clusters you will be using during the exam. See the table below.

Cluster Members CNI Description
k8s 1 etcd, 1 master, 2 worker flannel
hk8s 1 etcd, 1 master, 2 worker calico
bk8s 1 etcd, 1 master, 1 worker flannel
wk8s 1 etcd, 1 master, 2 worker flannel
ek8s 1 etcd, 1 master, 2 worker flannel
ik8s 1 etcd, 1 master, 1 base node loopback Missing worker node

This repo contains some scripts to get you started with cluster number one (k8s).

There's no real good structure no the scripts yet, sorry for the mess. You should start with create_cluster.sh though.

Enjoy!

Summary

  • Heavily inspired by Kubernetes The Hard Way
  • External etcd one node cluster (!)
  • Runs on GCE (VMs)
  • As of now only the first cluster can be created
  • Lacks flannel support
  • tmux and start/stop helper scripts are provided
  • Scalable, not trivial but a good way of learning e.g. how to add more nodes to a cluster

Get started

Pre-req:

  • Install gcloud
  • Install kubectl
  • Create a free tier account on GCE
  • Configure gcloud

Create and run the cluster:

  1. Create a new directory somewhere on your local computer
  2. Clone this repo
  3. cd into the cloned repo directory
  4. Run the create_cluster.sh script

Todo

  • Clean-up script
  • Provide initial tool setup (kubectl and cfssl)
  • Provide initial gcloud setup, installation and configuration
  • Creation of GCE free tier
  • create-cluster.sh
    • Check if kubelet, gcloud and cfssl binaries are present
    • Add colors to the echoes
    • Refactor (ouch!)
    • Add argument to script to create different kinds of cluster (the others from the CKA exam)
    • Add a check to see if the provisioned instances are running before proceeding after creation
    • Add a way of continuing after this step, bootstrapping etc.
    • Support flannel and calico overlays (if possible in GCE)
  • bootstrap*.sh
    • Add echoes with color
    • Find a way to execute them remotely
  • The rest of the *.sh scripts
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].