Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
notebooks-operations
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
702
Projekty
notebooks-operations
Commits
e076e42e
Commit
e076e42e
authored
1 month ago
by
František Dvořák
Browse files
Options
Downloads
Patches
Plain Diff
Tune nginx with K8s KOST
parent
c3a6374e
No related branches found
No related tags found
1 merge request
!47
Draft: e-INFRA CZ Deployment (WIP)
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/playbooks/k8s-kost.yaml
+5
-3
5 additions, 3 deletions
common/playbooks/k8s-kost.yaml
with
5 additions
and
3 deletions
common/playbooks/k8s-kost.yaml
+
5
−
3
View file @
e076e42e
...
...
@@ -72,6 +72,8 @@
when
:
"
'ingress-nginx'
not
in
ansible_local.helm_repos
|
map(attribute='name')
|
list"
-
name
:
Ingress
vars
:
name
:
cluster-ingress
namespace
:
ingress-nginx
version
:
4.12.2
# app 1.12.2
config
:
>-
--set controller.service.type=LoadBalancer
...
...
@@ -83,11 +85,11 @@
--set controller.addHeaders.Permissions-Policy="geolocation=()"
--version={{ version }}
shell
:
|-
helm status --namespace
kube-system cluster-ingress
helm status --namespace
{{ namespace }} {{ name }}
if [ $? -ne 0 ]; then
helm install
cluster-ingress --namespace kube-system
{{ config }} ingress-nginx/ingress-nginx
helm install
{{ name }} --create-namespace --namespace {{ namespace }}
{{ config }} ingress-nginx/ingress-nginx
else
helm upgrade --namespace
kube-system {{ config }} cluster-ingress
ingress-nginx/ingress-nginx
helm upgrade
{{ name }}
--namespace
{{ namespace }} {{ config }}
ingress-nginx/ingress-nginx
fi
environment
:
KUBECONFIG
:
/etc/kubernetes/admin.conf
...
...
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