quaint-translator-50744
06/02/2021, 12:18 PMambitious-father-68746
06/02/2021, 12:41 PMquaint-translator-50744
06/02/2021, 12:49 PMambitious-father-68746
06/02/2021, 12:52 PMquaint-translator-50744
06/02/2021, 1:04 PMbrave-dawn-64711
06/02/2021, 1:34 PMkind create cluster --config kind.config.yaml
kind: Cluster
apiVersion: <http://kind.x-k8s.io/v1alpha4|kind.x-k8s.io/v1alpha4>
nodes:
- role: control-plane
- role: worker
- role: worker
const kindContext = "kind-kind"
const kindProvider = new k8s.Provider(kindContext, {
context: kindContext
})
const ns = new k8s.core.v1.Namespace(
nsName,
{
metadata: {
name: nsName,
labels: {
name: nsName,
app: appName
}
}
},
{ provider: kindProvider },
)