mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 07:57:07 +00:00
merge
This commit is contained in:
commit
368bc1786f
2 changed files with 18 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
||||||
# <center>Kyverno - Kubernetes Native Policy Management</center>
|
# Kyverno - Kubernetes Native Policy Management
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
|
@ -2,19 +2,27 @@
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
To install Kyverno in your cluster run:
|
To install Kyverno in your cluster run the following command on a host with kubectl access:
|
||||||
|
|
||||||
`kubectl create -f https://github.com/nirmata/kyverno/raw/master/definitions/install.yaml`
|
````sh
|
||||||
|
kubectl create -f https://github.com/nirmata/kyverno/raw/master/definitions/install.yaml
|
||||||
|
````
|
||||||
|
|
||||||
To check if the Kyverno controller is running use:
|
To check the Kyverno controller status, run the command:
|
||||||
|
|
||||||
`kubectl get pods -n kyverno`
|
````sh
|
||||||
|
kubectl get pods -n kyverno
|
||||||
|
````
|
||||||
|
|
||||||
If the Kyverno controller doesn't start, you can check its status and logs for errors:
|
If the Kyverno controller is not running, you can check its status and logs for errors:
|
||||||
|
|
||||||
`kubectl describe pod <kyverno-pod-name> -n kyverno`
|
````sh
|
||||||
|
kubectl describe pod <kyverno-pod-name> -n kyverno
|
||||||
|
````
|
||||||
|
|
||||||
`kubectl logs <kyverno-pod-name> -n kyverno`
|
````sh
|
||||||
|
kubectl logs <kyverno-pod-name> -n kyverno
|
||||||
|
````
|
||||||
|
|
||||||
# Installing in a Development Environment
|
# Installing in a Development Environment
|
||||||
|
|
||||||
|
@ -22,8 +30,7 @@ To run Kyverno in a development environment see: https://github.com/nirmata/kyve
|
||||||
|
|
||||||
# Try Kyverno without a Kubernetes cluster
|
# Try Kyverno without a Kubernetes cluster
|
||||||
|
|
||||||
To write and test policies without installing Kyverno in a Kubernetes cluster you can try the [Kyverno CLI](documentation/testing-policies-cli.md).
|
The [Kyverno CLI](documentation/testing-policies-cli.md) allows you to write and test policies without installing Kyverno in a Kubernetes cluster.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
Loading…
Add table
Reference in a new issue