Skip to content

Apply raw Kubernetes manifests

Goal

Apply shared Kubernetes primitives from k8s/.

Prerequisites

  • kubectl configured for the target cluster

Steps

1) Review files

ls -1 k8s

2) Apply cluster-scoped resources

kubectl apply -f ./k8s/priority-class.yaml

3) Apply namespace resources

kubectl apply -f ./k8s/network-policy.yaml -n <namespace>
kubectl apply -f ./k8s/limit-range.yaml -n <namespace>

Validation

kubectl get priorityclass | grep -i app || true
kubectl -n <namespace> get networkpolicy,limitrange

Next: Getting Started · Reference · Changelog · Support