You are browsing documentation for a version of Kuma that is not the latest release.

Looking for even older versions? Learn more.

Applying Policies

Once installed, Kuma 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 Kuma state with kumactl on both environments.

We follow the best practices. You should always change your Kubernetes state with CRDs, that’s why Kuma disables kumactl apply [..] when running in K8s environments.

echo "
  kind: ..
  spec: ..
" | kubectl apply -f -

In addition to kumactl, you can also retrieve the state via the Kuma HTTP API.