Files
my-rook-config/deploy/examples/bucket-notification-endpoint.yaml
T
Sébastien Han c890710b63 core: change directory layout
As per discussion, proposing a new layout for the charts/yaml/olm files.

./deploy
├── charts
│   ├── rook-ceph
│   │   └── templates
│   └── rook-ceph-cluster
│       └── templates
├── examples
│   ├── csi
│   │   ├── cephfs
│   │   └── rbd
│   ├── flex
│   ├── monitoring
│   ├── pre-k8s-1.16
└── olm
    └── assemble

Signed-off-by: Sébastien Han <seb@redhat.com>
2021-11-30 09:12:53 +01:00

38 lines
659 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: my-notification-endpoint
spec:
selector:
matchLabels:
run: my-notification-endpoint
replicas: 2
template:
metadata:
labels:
run: my-notification-endpoint
spec:
containers:
- name: my-notification-endpoint
image: nginx
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: my-notification-endpoint
labels:
run: my-notification-endpoint
spec:
type: NodePort
ports:
- port: 8080
targetPort: 80
protocol: TCP
name: http
selector:
run: my-notification-endpoint