mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-24 00:15:29 +00:00
Public holidays API (#212)
This commit is contained in:
40
holidays/nager-k8s.yaml
Normal file
40
holidays/nager-k8s.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nager-latest
|
||||
labels:
|
||||
app: nager
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nager
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nager
|
||||
spec:
|
||||
containers:
|
||||
- name: nager
|
||||
image: nager/nager-date:latest
|
||||
ports:
|
||||
- containerPort: 80
|
||||
env:
|
||||
- name: EnableCors
|
||||
value: "true"
|
||||
- name: EnableIpRateLimiting
|
||||
value: "false"
|
||||
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nager
|
||||
spec:
|
||||
selector:
|
||||
app: nager
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 80
|
||||
Reference in New Issue
Block a user