mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-02 16:38:14 +00:00
This deployment works, finally
This commit is contained in:
1 parent
a8858f2375
commit
da29a1f403
1 file changed
+7
-28
+7
-28
@@ -1,41 +1,18 @@
|
||||
# ---
|
||||
# kind: Service
|
||||
# apiVersion: v1
|
||||
# metadata:
|
||||
# name: tts
|
||||
# namespace: trumped
|
||||
# #labels:
|
||||
# # tier: backend
|
||||
# spec:
|
||||
# type: LoadBalancer
|
||||
# selector:
|
||||
# app: tts
|
||||
# #tier: backend
|
||||
# ports:
|
||||
# - name: http
|
||||
# protocol: TCP
|
||||
# port: 80
|
||||
# targetPort: 8080
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: tts
|
||||
namespace: trumped
|
||||
#labels:
|
||||
# tier: backend
|
||||
spec:
|
||||
#type: LoadBalancer
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: tts
|
||||
#tier: backend
|
||||
ports:
|
||||
- name: http
|
||||
protocol: TCP
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
externalIPs:
|
||||
- 167.71.83.38
|
||||
port: 80
|
||||
targetPort: 12345
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
@@ -58,7 +35,9 @@ spec:
|
||||
- name: regcred
|
||||
containers:
|
||||
- name: tts
|
||||
image: docker.pkg.github.com/echelon/voder/tts-service:539570e07923
|
||||
image: docker.pkg.github.com/echelon/voder/tts-service:a8858f2375a4
|
||||
command: ["/tts_service"]
|
||||
args: ["0.0.0.0:12345"]
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
- containerPort: 12345
|
||||
protocol: TCP
|
||||
Reference in new issue
Block a user