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
Hide 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
kind
:
Service
metadata
:
name
:
konga
name
:
kong-dashboard
namespace
:
kong
spec
:
type
:
NodePort
ports
:
-
name
:
kong
a
port
:
1337
targetPort
:
1337
-
name
:
kong
-dashboard
port
:
80
targetPort
:
8080
protocol
:
TCP
selector
:
app
:
konga
app
:
dashboard
---
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
name
:
konga
name
:
dashboard
namespace
:
kong
spec
:
replicas
:
1
template
:
metadata
:
labels
:
name
:
konga
app
:
konga
name
:
dashboard
app
:
dashboard
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
:
kong-dashboard
args
:
-
start
-
--kong-url http://kong-ingress-controller:8001
-
--basic-auth admin=admin
image
:
pgbi/kong-dashboard:latest
ports
:
-
name
:
konga
containerPort
:
80
-
name
:
http
containerPort
:
80
80
protocol
:
TCP
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
kong-admin
namespace
:
kong
spec
:
ports
:
-
name
:
kongadmin
port
:
8001
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