Commit af82e645 authored by Ioannis Plakas's avatar Ioannis Plakas

new stuff

parent e9668202
......@@ -34,7 +34,7 @@ make manifests
make install
```
The created resource is retrieved `kubectl get crd`
![Image of new crds](https://gitlab.ubitech.eu/iplakas/first-controller/-/blob/master/images/crds.png?raw=true)
![Image of new crds](images/crds.png?raw=true)
4. The generated CRD is fully described in yaml format in `config/crd/bases/ubi.ubitech.eu_pgouvs.yaml` which is generated by the corresponding go type
......@@ -70,7 +70,7 @@ spec:
```
In order to apply the instance of the resource `kubectl applay -f config/samples/ubi_v1alpha1_pgouv`
![Created resource ](https://gitlab.ubitech.eu/iplakas/first-controller/-/blob/master/images/created.png)
![Created resource ](images/created.png)
6. Now that the cluster has a Custom Resource the determined logic
......@@ -199,13 +199,13 @@ make run
`kubectl logs ` will retrieve the output of the `Command` for the specified Pod
![Created resource ](https://gitlab.ubitech.eu/iplakas/first-controller/-/blob/master/images/output.png)
![Created resource ](images/output.png)
11. The CR can be updated by updating the `Replicas` field on the `config/samples/ubi_v1alpha1_pgouv` and applying it to the cluster via
`kubectl apply -f `
[Created resource2 ](https://gitlab.ubitech.eu/iplakas/first-controller/-/blob/master/images/output2.png)
[Created resource2 ](images/output2.png)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment