Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
grpc-helloworld
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Frank Sauerburger
grpc-helloworld
Commits
b0b657cc
Verified
Commit
b0b657cc
authored
1 year ago
by
Frank Sauerburger
Browse files
Options
Downloads
Patches
Plain Diff
Add Kubernetes manifest
parent
3c800942
Branches
main
Tags
0.1.0-beta.2
No related merge requests found
Pipeline
#14672
passed
1 year ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
kubernetes.yaml
+57
-0
57 additions, 0 deletions
kubernetes.yaml
with
59 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
2
View file @
b0b657cc
...
...
@@ -61,7 +61,7 @@ deploy_production:
variables
:
NAMESPACE
:
howlargeisthelhc-staging
AGENT
:
stratus
HOST
:
grpc-helloworld.sauerburger.
cloud
HOST
:
grpc-helloworld.sauerburger.
io
environment
:
name
:
Production Environment
url
:
https://grpc-helloworld.sauerburger.
cloud
/
url
:
https://grpc-helloworld.sauerburger.
io
/
This diff is collapsed.
Click to expand it.
kubernetes.yaml
0 → 100644
+
57
−
0
View file @
b0b657cc
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
labels
:
app
:
grpc-helloworld
name
:
grpc-helloworld
spec
:
selector
:
matchLabels
:
app
:
grpc-helloworld
template
:
metadata
:
labels
:
app
:
grpc-helloworld
spec
:
containers
:
-
image
:
DOCKER_IMAGE
name
:
grpc-helloworld
---
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
grpc-helloworld
spec
:
type
:
ClusterIP
ports
:
-
port
:
50051
protocol
:
TCP
targetPort
:
50051
selector
:
app
:
grpc-helloworld
---
apiVersion
:
networking.k8s.io/v1
kind
:
Ingress
metadata
:
annotations
:
cert-manager.io/cluster-issuer
:
letsencrypt-production
nginx.ingress.kubernetes.io/backend-protocol
:
"
GRPC"
# kubernetes.io/ingress.class: nginx
name
:
grpc-helloworld
spec
:
ingressClassName
:
nginx
rules
:
-
host
:
HOST
http
:
paths
:
-
path
:
"
/"
pathType
:
Prefix
backend
:
service
:
name
:
grpc-helloworld
port
:
number
:
50051
tls
:
-
hosts
:
-
HOST
secretName
:
grpc-helloworld-tls-secret
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment