Hello everyone, I tries this task serveral times each time it gives me unauthorized and bad gateway
here is the manifest file:
kind: Deployment
metadata:
name: nagios-deployment
labels:
app: nagios
spec:
replicas: 1
selector:
matchLabels:
app: nagios
template:
metadata:
labels:
app: nagios
spec:
containers:
- name: nagios-container
image: jasonrivers/nagios
---
apiVersion: v1
kind: Service
metadata:
name: nagios-service
spec:
type: NodePort
ports:
- port:80
targetPort: 80
nodePort: 30008
protocol: TCP
name: http
selector:
app: nagios
and here a screenshots from the app deployed
and here the logs. for the pod