You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sed -i "s|{{KUBEFLEDGED_NAMESPACE}}|${KUBEFLEDGED_NAMESPACE}|g" deploy/kubefledged-operator/deploy/crds/charts.helm.kubefledged.io_v1alpha2_kubefledged_cr.yaml
222
+
sed -i ''"s|{{KUBEFLEDGED_NAMESPACE}}|${KUBEFLEDGED_NAMESPACE}|g" deploy/kubefledged-operator/deploy/crds/charts.helm.kubefledged.io_v1alpha2_kubefledged_cr.yaml
224
223
kubectl rollout status deployment kubefledged-operator -n ${KUBEFLEDGED_NAMESPACE} --watch
These instructions install _kube-fledged_ to a separate namespace called "kube-fledged", using Helm operator and pre-built images in [Docker Hub.](https://hub.docker.com/u/senthilrch)
@@ -143,12 +130,6 @@ These instructions install _kube-fledged_ to a separate namespace called "kube-f
143
130
$ kubectl get imagecaches -n kube-fledged (Output should be: 'No resources found')
144
131
```
145
132
146
-
- Optional: Deploy _kube-fledged webhook server_ to the cluster. This component enables validating the ImageCache CR.
147
-
148
-
```
149
-
$ make deploy-webhook-server-using-operator
150
-
```
151
-
152
133
## Helm chart parameters
153
134
154
135
Parameters of the helm chart are documented [here](docs/helm-parameters.md)
@@ -162,9 +143,8 @@ These instructions will help you build _kube-fledged_ from source and deploy it
- If you are behind a proxy, export the following ENV variables (UPPER case)
@@ -303,14 +283,6 @@ $ helm delete kube-fledged -n ${KUBEFLEDGED_NAMESPACE} (if you deployed using He
303
283
$ make remove-kubefledged-and-operator (if you deployed using Helm Operator)
304
284
```
305
285
306
-
Note: To remove the _kube-fledged webhook server_ alone.
307
-
308
-
```
309
-
$ make remove-webhook-server (if you deployed using YAML manifests)
310
-
$ helm upgrade kube-fledged deploy/kubefledged-operator/helm-charts/kubefledged -n ${KUBEFLEDGED_NAMESPACE} --set webhookServer.enable=false --wait --debug (if you deployed using Helm chart)
311
-
$ make remove-webhook-server-using-operator (if you deployed using Helm Operator)
312
-
```
313
-
314
286
## How it works
315
287
316
288
Kubernetes allows developers to extend the kubernetes api via [Custom Resources](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/). _kube-fledged_ defines a custom resource of kind “ImageCache” and implements a custom controller (named _kubefledged-controller_). _kubefledged-controller_ does the heavy-lifting for managing image cache. Users can use kubectl commands for creation and deletion of ImageCache resources.
@@ -322,6 +294,8 @@ For more detailed description, go through _kube-fledged's_ [design proposal](doc
322
294
323
295
## Configuration Flags for Kubefledged Controller
324
296
297
+
`--cri-socket-path:` path to the cri socket on the node e.g. /run/containerd/containerd.sock (default: /var/run/docker.sock, /run/containerd/containerd.sock, /var/run/crio/crio.sock)
298
+
325
299
`--image-cache-refresh-frequency:` The image cache is refreshed periodically to ensure the cache is up to date. Setting this flag to "0s" will disable refresh. default "15m"
326
300
327
301
`--image-delete-job-host-network:` Whether the pod for the image delete job should be run with 'HostNetwork: true'. Default value: false.
0 commit comments