Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eureka-server
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangguangchao
eureka-server
Commits
05da84cc
Commit
05da84cc
authored
Nov 28, 2023
by
lixinyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update k8sdeploy.yaml
parent
34584ccb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
k8sdeploy.yaml
k8sdeploy.yaml
+6
-6
No files found.
k8sdeploy.yaml
View file @
05da84cc
...
...
@@ -22,7 +22,7 @@ spec:
command
:
[
'
sh'
,
'
-c'
,
'
sh
./bin/startup.sh
&&
sleep
3600'
]
ports
:
-
containerPort
:
8769
serviceAccountName
:
de
vops
serviceAccountName
:
de
fault
---
apiVersion
:
v1
kind
:
Service
...
...
@@ -45,10 +45,10 @@ spec:
apiVersion
:
rbac.authorization.k8s.io/v1beta1
kind
:
ClusterRoleBinding
metadata
:
name
:
de
vops
#ClusterRoleBinding的名字
name
:
de
fault
#ClusterRoleBinding的名字
subjects
:
-
kind
:
ServiceAccount
name
:
de
vops
#serviceaccount资源对象的name
name
:
de
fault
#serviceaccount资源对象的name
namespace
:
devops
#serviceaccount的namespace
roleRef
:
kind
:
ClusterRole
...
...
@@ -58,7 +58,7 @@ roleRef:
apiVersion
:
v1
kind
:
ServiceAccount
metadata
:
name
:
de
vops
# ServiceAccount的名字
name
:
de
fault
# ServiceAccount的名字
namespace
:
devops
# serviceaccount的namespace
labels
:
app
:
devops
#ServiceAccount的标签
\ No newline at end of file
app
:
default
#ServiceAccount的标签
\ 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