Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dockerfiles
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qg-dockerfiles
Commits
10cfe065
Commit
10cfe065
authored
Sep 11, 2017
by
daidekun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
traefik
parent
c2c9e41f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
106 additions
and
0 deletions
+106
-0
ingress-rbac.yaml
tools/traefik/ingress-rbac.yaml
+20
-0
traefik-ingress-deployment.yaml
tools/traefik/traefik-ingress-deployment.yaml
+39
-0
traefik-ui.yaml
tools/traefik/traefik-ui.yaml
+27
-0
traefik.yaml
tools/traefik/traefik.yaml
+20
-0
No files found.
tools/traefik/ingress-rbac.yaml
0 → 100644
View file @
10cfe065
apiVersion
:
v1
kind
:
ServiceAccount
metadata
:
name
:
ingress
namespace
:
kube-system
---
kind
:
ClusterRoleBinding
apiVersion
:
rbac.authorization.k8s.io/v1beta1
metadata
:
name
:
ingress
subjects
:
-
kind
:
ServiceAccount
name
:
ingress
namespace
:
kube-system
roleRef
:
kind
:
ClusterRole
name
:
cluster-admin
apiGroup
:
rbac.authorization.k8s.io
\ No newline at end of file
tools/traefik/traefik-ingress-deployment.yaml
0 → 100644
View file @
10cfe065
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
name
:
traefik-ingress-lb
namespace
:
kube-system
labels
:
k8s-app
:
traefik-ingress-lb
spec
:
template
:
metadata
:
labels
:
k8s-app
:
traefik-ingress-lb
name
:
traefik-ingress-lb
spec
:
terminationGracePeriodSeconds
:
60
hostNetwork
:
true
restartPolicy
:
Always
serviceAccountName
:
ingress
containers
:
-
image
:
traefik
name
:
traefik-ingress-lb
resources
:
limits
:
cpu
:
200m
memory
:
30Mi
requests
:
cpu
:
100m
memory
:
20Mi
ports
:
-
name
:
http
containerPort
:
80
hostPort
:
80
-
name
:
admin
containerPort
:
8580
hostPort
:
8580
args
:
-
--web
-
--web.address=:8580
-
--kubernetes
\ No newline at end of file
tools/traefik/traefik-ui.yaml
0 → 100644
View file @
10cfe065
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
traefik-web-ui
namespace
:
kube-system
spec
:
selector
:
k8s-app
:
traefik-ingress-lb
ports
:
-
name
:
web
port
:
80
targetPort
:
8580
---
apiVersion
:
extensions/v1beta1
kind
:
Ingress
metadata
:
name
:
traefik-web-ui
namespace
:
kube-system
spec
:
rules
:
-
host
:
traefik-ui.local
http
:
paths
:
-
path
:
/
backend
:
serviceName
:
traefik-web-ui
servicePort
:
web
\ No newline at end of file
tools/traefik/traefik.yaml
0 → 100644
View file @
10cfe065
apiVersion
:
extensions/v1beta1
kind
:
Ingress
metadata
:
name
:
traefik-ingress
spec
:
rules
:
-
host
:
traefik.nginx.io
http
:
paths
:
-
path
:
/
backend
:
serviceName
:
my-nginx
servicePort
:
80
-
host
:
traefik.frontend.io
http
:
paths
:
-
path
:
/
backend
:
serviceName
:
frontend
servicePort
:
80
\ No newline at end of file
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