Hosted Control Planes or Hypershift
repo:
docs:
Tooling that exists to explore this stuff on a libvirt host
https://github.com/karmab/kcli
Basic Architecture:
Duffie Cooley changed 6 months agoView mode Like Bookmark
Overview of DNS.
Typically CoreDNS is installed in a cluster at initialization with a deployment. This deployment will use the underlying host dns resolvers by default.
How does Kubernetes Assign DNS to pods?
Kubelet clusterDNS
When a pod is deployed using a cni the pod is by default configured with dnsPolicy: ClusterFirst.
Pods with this configuration are given the dns entries provided by the kubelet.
When Kubernetes is deployed with a service cidr the first ip address in the cidr is allocated to the kuberenetes.default service. The 10th is allocated to the kube-dns.kubernetes service. This is done by providing the kubelet with the "clusterDNS" parameter. You can optionally override this parameter and the values given to pods on that specific node.
Duffie Cooley changed a year agoView mode Like Bookmark
DC Requirements
Egress work
The dc routed pods use case. pci use case.
Pods need:
The application in the pod needs to understand the ip address that is being routed to it via the allocated interface.
a routable ip address allocated from a specific ip pool that is different from the rest of the cluster.
Duffie Cooley changed a year agoView mode Like Bookmark
aks clusters with kubenet.
aks clusters with azure cni legacy with calico.
pdb protect
set drain timeout.
Tasks:
Bring up new cluster
deploy sample apps
Duffie Cooley changed a year agoView mode Like Bookmark
for the checking of things I think we should consider
kubectl exec -ti -n kube-system ds/cilium -- cilium status
tho this doesn't show tunnel mode
maybe consider custom columns instead of jq.
kubectl get nodes -o custom-columns=name:.metadata.name,node-ip:.status.addresses[].address,pod-cidr:.spec.podCIDRs[]
Duffie Cooley changed 2 years agoView mode Like Bookmark
⬢ Cilium Routing Options
There are a variety of routing options in Cilium:
By default cilium will deploy in an overlay mode and encapsulate all traffic between nodes.
We also support Direct Routing. Where we route all traffic between nodes directly using the underlying network
In this lab, we will explore what happens to packets that are transmitted between pods when using the Direct Routing option.
We don't know that the nodes are part of 10.0.0.0/8 in fact docker exec -ti clab-bgp-cplane-demo-control-plane ip addr shows that they are part of a /24
Duffie Cooley changed 2 years agoView mode Like Bookmark
Link https://hackmd.io/@mauilion/cilium-ipv6
Youtube link https://www.youtube.com/watch?v=IgPqIi67hSA
Summary:
Setup an cluster and deploy cilium in routed mode.
Show connectivity between pods and then use tcpdump to show identity labels encoded in the flow label header for ipv6 traffic.
Setup.
We will use a kind cluster for this learn more about kind here
Duffie Cooley changed 2 years agoView mode Like Bookmark
Summary of changes.
With this release we are deploying a new configmap into the cilium namespace. The name of this configmap is cilium-ee-olm-overrides.
The purpose is two fold.
the default configmap looks like this:
apiVersion: v1
data:
RELATED_IMAGE_CERTGEN: quay.io/cilium/certgen:v0.1.5@sha256:0c2b71bb3469990e7990e7e26243617aa344b5a69a4ce465740b8577f9d48ab9@sha256:0c2b71bb3469990e7990e7e26243617aa344b5a69a4ce465740b8577f9d48ab9
Duffie Cooley changed 3 years agoView mode Like Bookmark
GH link
tests
func TestStripRoot(t *testing.T) {
for _, test := range []struct {
root, path, out string
}{
// Works with multiple components.
{"/a/b", "/a/b/c", "/c"},
Brad Geesaman changed 4 years agoView mode Like Bookmark
Follow me on twitter @mauilion
important links
cloudnative.tv
eCHO
certs magic with Saiyam debuting on cloudnative.tv today!
klustered
kind.sigs.k8s.io
find this stuff here hackmd.io/@mauilion/cka-lab
Duffie Cooley changed 4 years agoView mode Like 12 Bookmark
Topic for discuss.k8s.io
Title: Call for Questions! sig-HONK AMA KubeCon NA keynote panel
Description:
Hello World! We are giving an Ask Me Anything keynote at KubeCon NA 2020, and we are calling for questions to be answered during our panel, SIG-Honk AMA Panel: Hacking and Hardening in the Cloud Native Garden. What would you like to ask us? We would like to answer!
Who we are
sig-HONK is @coldwater, @bradgeesaman, @raesene, @mauilion
Duffie Cooley changed 4 years agoEdit mode Like Bookmark
---
title: Talk slides template
tags: Templates, Talk
description: View the slide with "Slide Mode".
---
# A kind workflow for contributing to Kubernetes
<!-- Put the link to this slide here so people can follow -->
slide: https://hackmd.io/p/template-Talk-slide
---
We have a collaborative session
please prepare laptop or smartphone to join!
---
## Who am I?
- Front-end developer
- VSCode :heart:
- I use tabs. :cat:
---
### 70% of our users are developers. Developers :heart: GitHub.
Duffie Cooley changed 5 years agoSlide mode Like Bookmark