Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
ksy-project-docking
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 00e8c531
authored
May 25, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增kpl-stream服务
1 parent
8a7611af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
65 additions
and
0 deletions
kpl_deploy_yaml/6-kpl-stream/server-deployment.yaml
kpl_deploy_yaml/6-kpl-stream/server-svc.yaml
kpl_deploy_yaml/6-kpl-stream/server-deployment.yaml
0 → 100644
View file @
00e8c53
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
name
:
kpl--stream
namespace
:
kpl
spec
:
replicas
:
1
template
:
metadata
:
labels
:
app
:
kpl--stream
spec
:
imagePullSecrets
:
-
name
:
"
harbor-secret"
serviceAccountName
:
kpl-serviceaccount
nodeSelector
:
kpl
:
"
true"
internal_service_node
:
"
true"
containers
:
-
name
:
kpl--stream
image
:
DOCKER_REGISTRY/kpl-stream-v1:latest
imagePullPolicy
:
Always
volumeMounts
:
-
name
:
config
mountPath
:
/adl/bin/conf/app.yaml
subPath
:
app.yaml
command
:
[
"
kpl--stream"
,
"
daemon"
]
ports
:
-
containerPort
:
8080
name
:
port-8080
-
containerPort
:
2222
name
:
port-2222
livenessProbe
:
initialDelaySeconds
:
10
httpGet
:
path
:
/health
port
:
port-8080
scheme
:
HTTP
resources
:
requests
:
cpu
:
"
1000m"
memory
:
"
1024Mi"
limits
:
cpu
:
"
4000m"
memory
:
"
4Gi"
volumes
:
-
name
:
config
configMap
:
name
:
cfg-kpl-backend
kpl_deploy_yaml/6-kpl-stream/server-svc.yaml
0 → 100644
View file @
00e8c53
apiVersion
:
v1
kind
:
Service
metadata
:
labels
:
app
:
kpl--stream
name
:
kpl--stream
namespace
:
kpl
spec
:
type
:
NodePort
selector
:
app
:
kpl--stream
ports
:
-
port
:
2222
name
:
port-2222
targetPort
:
2222
nodePort
:
30205
Write
Preview
Markdown
is supported
Attach a file
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 post a comment