How to Install and Uninstall kube-prometheus-k8s-yaml Package on openSUSE Leap
Last updated: November 23,2024
1. Install "kube-prometheus-k8s-yaml" package
This is a short guide on how to install kube-prometheus-k8s-yaml on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
kube-prometheus-k8s-yaml
Copied
2. Uninstall "kube-prometheus-k8s-yaml" package
Please follow the guidance below to uninstall kube-prometheus-k8s-yaml on openSUSE Leap:
$
sudo zypper remove
kube-prometheus-k8s-yaml
Copied
3. Information about the kube-prometheus-k8s-yaml package on openSUSE Leap
Information for package kube-prometheus-k8s-yaml:
-------------------------------------------------
Repository : Main Repository
Name : kube-prometheus-k8s-yaml
Version : 0.3.0+git20200320.a5e2783-bp155.2.26
Arch : noarch
Vendor : openSUSE
Installed Size : 2.5 MiB
Installed : No
Status : not installed
Source package : kube-prometheus-0.3.0+git20200320.a5e2783-bp155.2.26.src
Upstream URL : https://github.com/coreos/kube-prometheus
Summary : Yaml file to deploy Prometheus to monitor Kubernetes
Description :
This package collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
To deploy:
kubectl create -f /usr/share/k8s-yaml/kube-prometheus/setup
until kubectl get servicemonitors --all-namespaces ; do date; sleep 1; echo ""; done
kubectl create -f /usr/share/k8s-yaml/kube-prometheus/base
To teardown:
kubectl delete --ignore-not-found=true -f /usr/share/k8s-yaml/kube-prometheus/base -f /usr/share/k8s-yaml/kube-prometheus/setup
-------------------------------------------------
Repository : Main Repository
Name : kube-prometheus-k8s-yaml
Version : 0.3.0+git20200320.a5e2783-bp155.2.26
Arch : noarch
Vendor : openSUSE
Installed Size : 2.5 MiB
Installed : No
Status : not installed
Source package : kube-prometheus-0.3.0+git20200320.a5e2783-bp155.2.26.src
Upstream URL : https://github.com/coreos/kube-prometheus
Summary : Yaml file to deploy Prometheus to monitor Kubernetes
Description :
This package collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
To deploy:
kubectl create -f /usr/share/k8s-yaml/kube-prometheus/setup
until kubectl get servicemonitors --all-namespaces ; do date; sleep 1; echo ""; done
kubectl create -f /usr/share/k8s-yaml/kube-prometheus/base
To teardown:
kubectl delete --ignore-not-found=true -f /usr/share/k8s-yaml/kube-prometheus/base -f /usr/share/k8s-yaml/kube-prometheus/setup