Once installed, Kong Mesh can be configured via its policies. You can apply policies with
kumactl on Universal, and with
kubectl on Kubernetes. Regardless of what environment you use, you can always read the latest Kong Mesh state with
kumactl on both environments.
We follow the best practices. You should always change your Kubernetes state with CRDs, that’s why Kong Mesh disables
kumactl apply [..]when running in K8s environments.
These policies can be applied either by file via the
kumactl apply -f [path] or
kubectl apply -f [path] syntax, or by using the following command:
echo " type: .. spec: .. " | kumactl apply -f -
or - on Kubernetes - by using the equivalent:
echo " apiVersion: kuma.io/v1alpha1 kind: .. spec: .. " | kubectl apply -f -
Below you can find the policies that Kong Mesh supports. In addition to
kumactl, you can also retrieve the state via the Kong Mesh HTTP API as well.