cluster-api-provider-kubernetes | A Cluster API Infrastructure Provider | Job Orchestrator library
kandi X-RAY | cluster-api-provider-kubernetes Summary
kandi X-RAY | cluster-api-provider-kubernetes Summary
The Cluster API brings declarative, Kubernetes-style APIs to cluster creation, configuration and management. This project is a Cluster API Infrastructure Provider implementation using Kubernetes itself to provide the infrastructure. Pods using the kindest/node image built for kind are created and configured to serve as Nodes which form a cluster. The primary use cases for this project are testing and experimentation.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- main is the main function .
- Reconcile implements the KubernetesMachineReconciler interface .
- GetPodQOS returns a Pod QOS class
- setKindContainerBase sets the kind container s kind .
- QuickStartSpec runs each spec in the cluster
- getActions returns the actions for the userData
- dumpSpecResourcesAndCleanup dumps all resources for the spec
- CreateKindBootstrapClusterAndLoadImages creates a Kubernetes ClusterProvider and loads it into a cluster .
- loadImage is used to load an image in the cluster
- GenerateScript generates a script for a given cloud configuration .
cluster-api-provider-kubernetes Key Features
cluster-api-provider-kubernetes Examples and Code Snippets
CLUSTER_NAME="example"
# Use ClusterIP for clusters that do not support Services of type LoadBalancer
export KUBERNETES_CONTROL_PLANE_SERVICE_TYPE="LoadBalancer"
export KUBERNETES_CONTROLLER_MACHINE_CPU_REQUEST="500m"
export KUBERNETES_CONTROLLER_MA
# Install clusterctl
# https://cluster-api.sigs.k8s.io/user/quick-start.html#install-clusterctl
CLUSTER_API_VERSION=v0.3.15
curl -L https://github.com/kubernetes-sigs/cluster-api/releases/download/$CLUSTER_API_VERSION/clusterctl-`uname -s | tr '[:up
# The GKE Ubuntu image includes the ipip kernel module
# Calico handles loading the module if necessary
# https://github.com/projectcalico/felix/blob/9469e77e0fa530523be915dfaa69cc42d30b8317/dataplane/linux/ipip_mgr.go#L107-L110
MANAGEMENT_CLUSTER_NA
Community Discussions
Trending Discussions on cluster-api-provider-kubernetes
QUESTION
I am implementing a cluster-api controller using Kubernetes as the infrastructure provider - that is, I am trying to run Kubernetes Nodes as Kubernetes Pods and form a cluster within a cluster.
I have this working apart from network connectivity between Pods of the inner cluster (running on Pods of the infrastructure cluster), but I am stuck as to what the issue is.
I am running on GKE, using their default CNI implementation. I am then attempting to use Calico for an overlay implementation of the inner cluster, using IP-in-IP encapsulation so the Nodes of the infrastructure cluster do not need to know how to route inner cluster Pod IPs.
I am creating the infrastructure cluster as follows (the UBUNTU image is needed for the ipip
kernel module required by Calico's IP-in-IP encapsulation.
ANSWER
Answered 2020-Jan-06 at 16:31It was necessary to allow ipencap
protocol on the GKE nodes:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cluster-api-provider-kubernetes
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page