1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-05 23:46:56 +00:00
This commit is contained in:
Jim Bugwadia 2019-05-22 00:12:10 -07:00
commit 368bc1786f
2 changed files with 18 additions and 11 deletions

View file

@ -1,4 +1,4 @@
# <center>Kyverno - Kubernetes Native Policy Management</center>
# Kyverno - Kubernetes Native Policy Management
![logo](documentation/images/Kyverno_Horizontal.png)

View file

@ -2,19 +2,27 @@
# 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
@ -22,9 +30,8 @@ To run Kyverno in a development environment see: https://github.com/nirmata/kyve
# 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.
---
<small>*Read Next >> [Writing Policies](/documentation/writing-policies.md)*</small>
<small>*Read Next >> [Writing Policies](/documentation/writing-policies.md)*</small>