Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
f3070c5e
Commit
f3070c5e
authored
Oct 12, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
helm deployment for the primary-only self-sharding example/test.
parent
1aca523d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
5 deletions
+41
-5
Makefile
examples/self-sharding/Makefile
+13
-5
values-primary-only.yaml
examples/self-sharding/values-primary-only.yaml
+28
-0
values-self-sharding.yaml
examples/self-sharding/values-self-sharding.yaml
+0
-0
No files found.
examples/self-sharding/Makefile
View file @
f3070c5e
...
...
@@ -35,8 +35,12 @@ CHARTDIR=$(mkdir)/../../charts
all
:
deploy
deploy-self-sharding-helm
:
@
helm
install
viking-ingress
$(CHARTDIR)
/viking-test-app
\
--values
values.yaml
@
helm
install
viking-ingress-self-sharding
$(CHARTDIR)
/viking-test-app
\
--values
values-self-sharding.yaml
deploy-primary-only-helm
:
@
helm
install
viking-ingress-primary-only
$(CHARTDIR)
/viking-test-app
\
--values
values-primary-only.yaml
deploy-cafe-kubectl
:
@
kubectl apply
-f
$(mkdir)
/../hello/cafe.yaml
...
...
@@ -57,7 +61,11 @@ wait:
$(TESTDIR)
/wait.sh
app
=
varnish-ingress
undeploy-self-sharding-helm
:
@
helm uninstall viking-ingress
@
helm uninstall viking-ingress-self-sharding
$(MAKE)
wait
undeploy-primary-only-helm
:
@
helm uninstall viking-ingress-primary-only
$(MAKE)
wait
undeploy-cafe-kubectl
:
...
...
@@ -82,8 +90,8 @@ undeploy-primary-only: undeploy-primary-only-kubectl
else
deploy-self-sharding
:
deploy-self-sharding-helm
undeploy-self-sharding
:
undeploy-self-sharding-helm
deploy-primary-only
undeploy-primary-only
:
$
(
error primary-only not yet implemented
for
helm
)
deploy-primary-only
:
deploy-primary-only-helm
undeploy-primary-only
:
undeploy-primary-only-helm
endif
ifeq
($(EXAMPLE),self-sharding)
...
...
examples/self-sharding/values-primary-only.yaml
0 → 100644
View file @
f3070c5e
apps
:
coffee
:
image
:
nginxdemos/hello:plain-text
replicas
:
2
tea
:
image
:
nginxdemos/hello:plain-text
replicas
:
3
ingress
:
name
:
cafe-ingress
rules
:
-
host
:
cafe.example.com
paths
:
-
path
:
/tea
app
:
tea
-
path
:
/coffee
app
:
coffee
vikingAdmSvc
:
varnish-ingress-admin
selfSharding
:
primaryOnly
:
true
probe
:
timeout
:
6s
interval
:
6s
initial
:
2
window
:
4
threshold
:
3
examples/self-sharding/values.yaml
→
examples/self-sharding/values
-self-sharding
.yaml
View file @
f3070c5e
File moved
Write
Preview
Markdown
is supported
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