Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
3fbc3048
Commit
3fbc3048
authored
Nov 27, 2019
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
74f79490
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
102 additions
and
39 deletions
+102
-39
bigdata/app/base/test.yaml
+102
-39
No files found.
bigdata/app/base/test.yaml
View file @
3fbc3048
# apiVersion: v1
# kind: Service
# metadata:
# name: konga
# spec:
# type: NodePort
# ports:
# - name: konga
# port: 1337
# targetPort: 1337
# protocol: TCP
# selector:
# app: konga
# ---
# apiVersion: extensions/v1beta1
# kind: Deployment
# metadata:
# name: konga
# spec:
# replicas: 1
# template:
# metadata:
# labels:
# name: konga
# app: konga
# spec:
# containers:
# - name: konga
# image: pantsel/konga:0.14.1
# env:
# - name: DB_DATABASE
# value: k8s_konga
# - name: DB_USER
# valueFrom:
# configMapKeyRef:
# name: zhichan-config
# key: DB_USER
# - name: DB_PASSWORD
# valueFrom:
# configMapKeyRef:
# name: zhichan-config
# key: DB_PWD
# - name: DB_PORT
# valueFrom:
# configMapKeyRef:
# name: zhichan-config
# key: DB_PORT
# - name: DB_ADAPTER
# value: mysql
# - name: DB_HOST
# valueFrom:
# configMapKeyRef:
# name: zhichan-config
# key: DB_HOST
# - name: NODE_ENV
# value: production
# - name: TOKEN_SECRET
# value: testtoken
# ports:
# - name: konga
# containerPort: 1337
# protocol: TCP
apiVersion
:
v1
apiVersion
:
v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
konga
name
:
kong-dashboard
namespace
:
kong
spec
:
spec
:
type
:
NodePort
ports
:
ports
:
-
name
:
kong
a
-
name
:
kong
-dashboard
port
:
1337
port
:
80
targetPort
:
1337
targetPort
:
8080
protocol
:
TCP
protocol
:
TCP
selector
:
selector
:
app
:
konga
app
:
dashboard
---
---
apiVersion
:
extensions/v1beta1
apiVersion
:
extensions/v1beta1
kind
:
Deployment
kind
:
Deployment
metadata
:
metadata
:
name
:
konga
name
:
dashboard
namespace
:
kong
spec
:
spec
:
replicas
:
1
template
:
template
:
metadata
:
metadata
:
labels
:
labels
:
name
:
konga
name
:
dashboard
app
:
konga
app
:
dashboard
spec
:
spec
:
containers
:
containers
:
-
name
:
konga
-
name
:
kong-dashboard
image
:
pantsel/konga:0.14.1
args
:
env
:
-
start
-
name
:
DB_DATABASE
-
--kong-url http://kong-ingress-controller:8001
value
:
k8s_konga
-
--basic-auth admin=admin
-
name
:
DB_USER
image
:
pgbi/kong-dashboard:latest
valueFrom
:
ports
:
configMapKeyRef
:
-
name
:
http
name
:
zhichan-config
containerPort
:
8080
key
:
DB_USER
protocol
:
TCP
-
name
:
DB_PASSWORD
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
apiVersion
:
v1
key
:
DB_PWD
kind
:
Service
-
name
:
DB_PORT
metadata
:
valueFrom
:
name
:
kong-admin
configMapKeyRef
:
namespace
:
kong
name
:
zhichan-config
spec
:
key
:
DB_PORT
-
name
:
DB_ADAPTER
value
:
mysql
-
name
:
DB_HOST
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
DB_HOST
ports
:
ports
:
-
name
:
konga
-
name
:
kongadmin
containerPort
:
80
port
:
8001
protocol
:
TCP
protocol
:
TCP
targetPort
:
8001
selector
:
app
:
ingress-kong
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