-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tamal Saha <tamal@appscode.com>
- Loading branch information
Showing
39 changed files
with
199,169 additions
and
0 deletions.
There are no files selected for viewing
6,939 changes: 6,939 additions & 0 deletions
6,939
files/cluster-api/v1.7.9/bootstrap-components.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
27,409 changes: 27,409 additions & 0 deletions
27,409
files/cluster-api/v1.7.9/cluster-api-components.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
41 changes: 41 additions & 0 deletions
41
files/cluster-api/v1.7.9/cluster-template-development.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
apiVersion: cluster.x-k8s.io/v1beta1 | ||
kind: Cluster | ||
metadata: | ||
name: "${CLUSTER_NAME}" | ||
namespace: "${NAMESPACE}" | ||
spec: | ||
clusterNetwork: | ||
services: | ||
cidrBlocks: ${SERVICE_CIDR:=["10.128.0.0/12"]} | ||
pods: | ||
cidrBlocks: ${POD_CIDR:=["192.168.0.0/16"]} | ||
serviceDomain: ${SERVICE_DOMAIN:="cluster.local"} | ||
topology: | ||
class: quick-start | ||
controlPlane: | ||
metadata: {} | ||
replicas: ${CONTROL_PLANE_MACHINE_COUNT} | ||
variables: | ||
- name: imageRepository | ||
value: "" | ||
- name: etcdImageTag | ||
value: "" | ||
- name: coreDNSImageTag | ||
value: "" | ||
- name: podSecurityStandard | ||
value: | ||
enabled: ${POD_SECURITY_STANDARD_ENABLED:=true} | ||
enforce: "baseline" | ||
audit: "restricted" | ||
warn: "restricted" | ||
version: ${KUBERNETES_VERSION} | ||
workers: | ||
machineDeployments: | ||
- class: default-worker | ||
name: md-0 | ||
replicas: ${WORKER_MACHINE_COUNT} | ||
machinePools: | ||
- class: default-worker | ||
name: mp-0 | ||
replicas: ${WORKER_MACHINE_COUNT} | ||
--- |
22 changes: 22 additions & 0 deletions
22
files/cluster-api/v1.7.9/cluster-template-in-memory-development.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apiVersion: cluster.x-k8s.io/v1beta1 | ||
kind: Cluster | ||
metadata: | ||
name: "${CLUSTER_NAME}" | ||
namespace: "${NAMESPACE}" | ||
spec: | ||
clusterNetwork: | ||
services: | ||
cidrBlocks: ${SERVICE_CIDR:=["10.128.0.0/12"]} | ||
pods: | ||
cidrBlocks: ${POD_CIDR:=["192.168.0.0/16"]} | ||
serviceDomain: ${SERVICE_DOMAIN:="cluster.local"} | ||
topology: | ||
class: in-memory-quick-start | ||
version: ${KUBERNETES_VERSION} | ||
controlPlane: | ||
replicas: ${CONTROL_PLANE_MACHINE_COUNT} | ||
workers: | ||
machineDeployments: | ||
- class: default-worker | ||
name: md-0 | ||
replicas: ${WORKER_MACHINE_COUNT} |
149 changes: 149 additions & 0 deletions
149
files/cluster-api/v1.7.9/clusterclass-in-memory-quick-start.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
apiVersion: cluster.x-k8s.io/v1beta1 | ||
kind: ClusterClass | ||
metadata: | ||
name: in-memory-quick-start | ||
spec: | ||
controlPlane: | ||
metadata: | ||
annotations: | ||
machineInfrastructure: | ||
ref: | ||
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1 | ||
kind: InMemoryMachineTemplate | ||
name: in-memory-quick-start-control-plane | ||
ref: | ||
apiVersion: controlplane.cluster.x-k8s.io/v1beta1 | ||
kind: KubeadmControlPlaneTemplate | ||
name: in-memory-quick-start-control-plane | ||
machineHealthCheck: | ||
unhealthyConditions: | ||
- type: Ready | ||
status: Unknown | ||
timeout: 300s | ||
- type: Ready | ||
status: "False" | ||
timeout: 300s | ||
infrastructure: | ||
ref: | ||
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1 | ||
kind: InMemoryClusterTemplate | ||
name: in-memory-quick-start-cluster | ||
workers: | ||
machineDeployments: | ||
- class: default-worker | ||
template: | ||
bootstrap: | ||
ref: | ||
apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 | ||
kind: KubeadmConfigTemplate | ||
name: in-memory-quick-start-default-worker-bootstraptemplate | ||
infrastructure: | ||
ref: | ||
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1 | ||
kind: InMemoryMachineTemplate | ||
name: in-memory-quick-start-default-worker-machinetemplate | ||
machineHealthCheck: | ||
unhealthyConditions: | ||
- type: Ready | ||
status: Unknown | ||
timeout: 300s | ||
- type: Ready | ||
status: "False" | ||
timeout: 300s | ||
--- | ||
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1 | ||
kind: InMemoryClusterTemplate | ||
metadata: | ||
name: in-memory-quick-start-cluster | ||
spec: | ||
template: | ||
spec: {} | ||
--- | ||
apiVersion: controlplane.cluster.x-k8s.io/v1beta1 | ||
kind: KubeadmControlPlaneTemplate | ||
metadata: | ||
name: in-memory-quick-start-control-plane | ||
spec: | ||
template: | ||
spec: | ||
kubeadmConfigSpec: | ||
clusterConfiguration: | ||
apiServer: | ||
certSANs: | ||
- localhost | ||
- 127.0.0.1 | ||
- 0.0.0.0 | ||
- host.docker.internal | ||
initConfiguration: | ||
nodeRegistration: | ||
criSocket: unix:///var/run/containerd/containerd.sock | ||
kubeletExtraArgs: | ||
eviction-hard: nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0% | ||
joinConfiguration: | ||
nodeRegistration: | ||
criSocket: unix:///var/run/containerd/containerd.sock | ||
kubeletExtraArgs: | ||
eviction-hard: nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0% | ||
--- | ||
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1 | ||
kind: InMemoryMachineTemplate | ||
metadata: | ||
name: in-memory-quick-start-control-plane | ||
spec: | ||
template: | ||
spec: | ||
behaviour: | ||
vm: | ||
provisioning: | ||
startupDuration: "30s" | ||
startupJitter: "0.2" | ||
node: | ||
provisioning: | ||
startupDuration: "10s" | ||
startupJitter: "0.2" | ||
apiServer: | ||
provisioning: | ||
startupDuration: "10s" | ||
startupJitter: "0.2" | ||
etcd: | ||
provisioning: | ||
startupDuration: "10s" | ||
startupJitter: "0.2" | ||
--- | ||
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1 | ||
kind: InMemoryMachineTemplate | ||
metadata: | ||
name: in-memory-quick-start-default-worker-machinetemplate | ||
spec: | ||
template: | ||
spec: | ||
behaviour: | ||
vm: | ||
provisioning: | ||
startupDuration: "30s" | ||
startupJitter: "0.2" | ||
node: | ||
provisioning: | ||
startupDuration: "10s" | ||
startupJitter: "0.2" | ||
apiServer: | ||
provisioning: | ||
startupDuration: "10s" | ||
startupJitter: "0.2" | ||
etcd: | ||
provisioning: | ||
startupDuration: "10s" | ||
startupJitter: "0.2" | ||
--- | ||
apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 | ||
kind: KubeadmConfigTemplate | ||
metadata: | ||
name: in-memory-quick-start-default-worker-bootstraptemplate | ||
spec: | ||
template: | ||
spec: | ||
joinConfiguration: | ||
nodeRegistration: | ||
criSocket: unix:///var/run/containerd/containerd.sock | ||
kubeletExtraArgs: | ||
eviction-hard: nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0% |
Oops, something went wrong.