Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Linux presentation 2020
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Tóth Miklós Tibor
Linux presentation 2020
Commits
9488d474
Verified
Commit
9488d474
authored
3 years ago
by
Rafael László
Browse files
Options
Downloads
Patches
Plain Diff
Add k8s config
parent
2f94a87b
No related branches found
No related tags found
No related merge requests found
Pipeline
#20979
passed
3 years ago
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
k8s/deployment.yaml
+24
-0
24 additions, 0 deletions
k8s/deployment.yaml
k8s/ingress.yaml
+27
-0
27 additions, 0 deletions
k8s/ingress.yaml
k8s/service.yaml
+11
-0
11 additions, 0 deletions
k8s/service.yaml
with
62 additions
and
0 deletions
k8s/deployment.yaml
0 → 100644
+
24
−
0
View file @
9488d474
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
linux-presentation
namespace
:
kszk-kepzes-site
spec
:
selector
:
matchLabels
:
app
:
linux-presentation
template
:
metadata
:
labels
:
app
:
linux-presentation
spec
:
containers
:
-
name
:
linux-presentation
image
:
harbor.sch.bme.hu/kszk/linux-presentation:latest
resources
:
limits
:
memory
:
"
64Mi"
ports
:
-
containerPort
:
80
imagePullSecrets
:
-
name
:
harbor
This diff is collapsed.
Click to expand it.
k8s/ingress.yaml
0 → 100644
+
27
−
0
View file @
9488d474
apiVersion
:
networking.k8s.io/v1
kind
:
Ingress
metadata
:
annotations
:
cert-manager.io/cluster-issuer
:
letsencrypt-prod
kubernetes.io/ingress.class
:
nginx
kubernetes.io/tls-acme
:
'
true'
nginx.ingress.kubernetes.io/proxy-body-size
:
20m
nginx.ingress.kubernetes.io/rewrite-target
:
/$2
name
:
linux-presentation
namespace
:
kszk-kepzes-site
spec
:
rules
:
-
host
:
ujonc.kszk.bme.hu
http
:
paths
:
-
path
:
/studies/linux(/|$)(.*)
pathType
:
Prefix
backend
:
service
:
name
:
linux-presentation
port
:
number
:
80
tls
:
-
hosts
:
-
ujonc.kszk.bme.hu
secretName
:
kszkepzes-cert
This diff is collapsed.
Click to expand it.
k8s/service.yaml
0 → 100644
+
11
−
0
View file @
9488d474
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
linux-presentation
namespace
:
kszk-kepzes-site
spec
:
selector
:
app
:
linux-presentation
ports
:
-
port
:
80
targetPort
:
80
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