Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
code-supply
web
Compare Revisions
0bb669e26cb74d8c77fbd4d2a399b83c3bb7bfc6...252ad96da1571d01c5beb71b17a00d7542c822eb
Source
252ad96da1571d01c5beb71b17a00d7542c822eb
Select Git revision
...
Target
0bb669e26cb74d8c77fbd4d2a399b83c3bb7bfc6
Select Git revision
Compare
Commits (1)
switch to daemon set
· 252ad96d
Andrew Bruce
authored
Aug 21, 2018
252ad96d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Makefile
Makefile
+1
-1
daemon-set.yaml
k8s/daemon-set.yaml
+1
-2
No files found.
Makefile
View file @
252ad96d
...
...
@@ -11,7 +11,7 @@ build: all IMAGE
docker build
.
-t
$$
(
cat
IMAGE
)
push
:
build
docker push
$$
(
cat
IMAGE
)
rendered_k8s_manifests.yaml
:
IMAGE k8s/d
eploymen
t.yaml k8s/service.yaml k8s/ingress.yaml
rendered_k8s_manifests.yaml
:
IMAGE k8s/d
aemon-se
t.yaml k8s/service.yaml k8s/ingress.yaml
cat
k8s/
*
.yaml |
IMAGE
=
$$
(
cat
IMAGE
)
envsubst
>
$@
deploy
:
rendered_k8s_manifests.yaml
kubectl
--context
=
code-supply-production apply
-f
$<
k8s/d
eploymen
t.yaml
→
k8s/d
aemon-se
t.yaml
View file @
252ad96d
---
apiVersion
:
apps/v1
kind
:
D
eploymen
t
kind
:
D
aemonSe
t
metadata
:
name
:
&name
codesupply-web
labels
:
app
:
*name
spec
:
replicas
:
3
selector
:
matchLabels
:
app
:
*name
...
...