Skip to content

Instantly share code, notes, and snippets.

View munishpalmakhija's full-sized avatar

munishpalmakhija

View GitHub Profile
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
# This option mounts the host docker registry folder into
# the control-plane node, allowing containerd to access them.
containerdConfigPatches:
- |-
[plugins."io.containerd.grpc.v1.cri".registry.configs."<harborurl>".tls]
insecure_skip_verify = true
apiVersion: apps/v1
kind: Deployment
metadata:
name: openldap
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
dn: dc=tpksm,dc=local
dc: tpk8sm
objectClass: dcObject
objectClass: organization
o: Tanzu, Inc
dn: ou=core,dc=tpksm,dc=local
objectClass: organizationalUnit
ou: core
apiVersion: run.tanzu.vmware.com/v1alpha3
kind: TanzuKubernetesCluster
metadata:
name: tkc01-tpk8sm
namespace: ns01-tpk8sm
spec:
topology:
controlPlane:
replicas: 3
vmClass: best-effort-large