bb70c8e8d2
just-enough to test terraform deployment and begin migration. have change to cnpg for the database and a new bucket for storage
52 lines
884 B
YAML
52 lines
884 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: artifactapi-v3-api
|
|
namespace: artifactapi
|
|
spec:
|
|
internalTrafficPolicy: Cluster
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
protocol: TCP
|
|
targetPort: http
|
|
selector:
|
|
app: artifactapi-api
|
|
sessionAffinity: None
|
|
type: ClusterIP
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: artifactapi-v3-ui
|
|
namespace: artifactapi
|
|
spec:
|
|
internalTrafficPolicy: Cluster
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
protocol: TCP
|
|
targetPort: http
|
|
selector:
|
|
app: artifactapi-ui
|
|
sessionAffinity: None
|
|
type: ClusterIP
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: redis-v3-service
|
|
namespace: artifactapi
|
|
spec:
|
|
internalTrafficPolicy: Cluster
|
|
ports:
|
|
- name: redis
|
|
port: 6379
|
|
protocol: TCP
|
|
targetPort: redis
|
|
selector:
|
|
app: redis-v3
|
|
sessionAffinity: None
|
|
type: ClusterIP
|