I have using OpenShift almost 4 years and WEB console better than default Kubernetes Dashboard IMHO.
I have using OpenShift almost 4 years and WEB console better than default Kubernetes Dashboard IMHO.
[Unit]
Description=Prometheus
Wants=network-online.target
After=network-online.target
[Service]
#ExecStart=/etc/prometheus/prometheus
ExecStart=/etc/prometheus/prometheus \
--config.file=/etc/prometheus/prometheus.yml \
--storage.tsdb.path=/var/prometheus/data \
--storage.tsdb.retention.time=60d
WorkingDirectory=/etc/prometheus/
Restart=on-failure
User=root
Group=root
[Install]
WantedBy=multi-user.target
1. edit file /etc/containers/registries.conf
2. add in the config file.
[[registry]]
insecure = true
location = "IP ADDRESS"
3. systemctl daemon-reload && systemctl restart crio