Kubernetes sets up a lengthy DNS search path, so any names are looked
up multiple times. Adding a dot at the end tells the DNS resolver the
name is absolute, and should not be tried against the search path.
This will reduce pointless DNS lookups.
If you don't specify, the default is typically 0 which (a) gives the
Kubernetes scheduler a false idea of expected usage and (b) makes the
Linux scheduler penalise the Scope processes under contention.
For best results adjust the figures here after observing actual usage
on your cluster.
We stop the per-host probes talking to Kubernetes and run an extra
Deployment with one more probe process to collect all information for
the cluster, which is less resource-intensive overall.
This feature was added at #3274
- Change apigroups to apiGroups in cluster-role.yaml
- Change resourcenames to resourceNames in cluster-role.yaml
- Add selector in deploy.yaml and ds.yaml
Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
This will add rules to cluster role for k8s snapshot components.
These RBAC permissions are required for scope to fetch details about
volumesnapshots and volumesnapshotdata resources.
Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
This will add rules to cluster role for k8s storage components.
These RBAC permissions are required for scope to fetch details about PV, PVC, SC
resources.
Signed-off-by: Satyam Zode <satyamzode@gmail.com>