Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
ExternalAPIs
OAI
Commits
b8f6a514
Commit
b8f6a514
authored
Jul 06, 2020
by
Günter Hipler
Browse files
changed manifests - still not working (hosts not allowed)
parent
1d7a853b
Pipeline
#10981
passed with stage
in 6 minutes and 13 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
manifest/oai-pod-deploy.yaml
View file @
b8f6a514
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
oai-prod-deployment
namespace
:
memobase
name
:
oai-deployment
labels
:
app
:
oai-
prod-
ap
p
app
:
oai-ap
i
spec
:
selector
:
matchLabels
:
app
:
oai-
prod-
ap
p
app
:
oai-ap
i
replicas
:
1
template
:
metadata
:
labels
:
app
:
oai-
prod-
ap
p
app
:
oai-ap
i
tier
:
web
spec
:
#serviceAccountName: oai-service-account #to be able to manage other pods inside the cluster
...
...
manifest/oai-prod-ingress.yaml
View file @
b8f6a514
apiVersion
:
networking.k8s.io/v1beta1
kind
:
Ingress
metadata
:
name
:
memobase-api-ingress
namespace
:
memobase
name
:
oai-ingress
annotations
:
cert-manager.io/cluster-issuer
:
letsencrypt-prod
nginx.ingress.kubernetes.io/force-ssl-redirect
:
"
true"
nginx.ingress.kubernetes.io/rewrite-target
:
/
labels
:
app
:
oai-api
spec
:
tls
:
-
hosts
:
...
...
@@ -17,5 +20,5 @@ spec:
paths
:
-
path
:
/
backend
:
serviceName
:
oai-api-prod
servicePort
:
9000
\ No newline at end of file
serviceName
:
oai-service
servicePort
:
9000
manifest/oai-prod-service.yaml
View file @
b8f6a514
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
oai-api-prod
namespace
:
memobase
name
:
oai-service
labels
:
app
:
oai-
prod-
ap
p
app
:
oai-ap
i
spec
:
ports
:
-
port
:
9000
selector
:
app
:
oai-
prod-
ap
p
app
:
oai-ap
i
tier
:
web
clusterIP
:
None
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment