Quick Calico

Getting bored with weavenet, now I tried calico

curl https://docs.projectcalico.org/manifests/calico-etcd.yaml -o calico.yaml

First of all, you must have one https etcd cluster for it.

Edit these 3 lines, inset output from command

cat <file> | base64 -w 0


etcd-key: xxx
etcd-cert: xxx
etcd-ca: xxx

inset etcd url and un-comment these lines (don’t change certificate filename)

etcd_endpoints: "https://etcd-cni.home.net:2379"
etcd_ca: "/calico-secrets/etcd-ca"
etcd_cert: "/calico-secrets/etcd-cert"
etcd_key: "/calico-secrets/etcd-key"

finally, change etcd-certs file permission to 0440

volumes:
- name: etcd-certs
secret:
secretName: calico-etcd-secrets
defaultMode: 0440

done

PS. you may use simple version here

curl https://docs.projectcalico.org/manifests/calico.yaml -O

--

--

--

Very short and simple notes for CKA/SRE and may not works on your environment.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Why building a community is worth the extra effort

DevDiaries #1

Differences between hard and symbolic links

Terraform+Ansible, Get Dynamic Inventory of EC2

Ashtech Gnss Solutions Software Free Download

handle Observability with care….

make simple configuration to two projects using Nginx (Part 4)

Introducing- Identitypass Sandbox

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jbn1233

Jbn1233

Very short and simple notes for CKA/SRE and may not works on your environment.

More from Medium

Readiness vs Liveness Probe Kubernetes

How Kubernetes is Changing the Face of Medical Technology

Why should you run data on Kubernetes ft. Sylvain Kalache

Introduction to ROSA : Red Hat OpenShift Service on AWS

OpenShift Deployment Models on AWS