Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jnpf-app-vue3-dj
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zuoliyuan
jnpf-app-vue3-dj
Commits
98bde803
Commit
98bde803
authored
Sep 06, 2024
by
lover2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
e97e95d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
0 deletions
+53
-0
devops/devops.yaml
devops/devops.yaml
+53
-0
No files found.
devops/devops.yaml
0 → 100644
View file @
98bde803
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
labels
:
app
:
dj-app
component
:
dj-app
tier
:
backend
name
:
dj-app
namespace
:
dangjian
spec
:
progressDeadlineSeconds
:
600
replicas
:
1
selector
:
matchLabels
:
app
:
dj-app
component
:
dj-app
tier
:
backend
template
:
metadata
:
labels
:
app
:
dj-app
component
:
dj-app
tier
:
backend
annotations
:
kubesphere.io/imagepullsecrets
:
'
{"dj-app":
"harbor-secret"}'
spec
:
containers
:
-
env
:
image
:
$REGISTRY/$DOCKERHUB_NAMESPACE/$APP_NAME:$BRANCH_NAME$BUILD_NUMBER
readinessProbe
:
exec
:
# 定义 ls /example 命令
command
:
-
ls
-
/usr/share/nginx/html
imagePullPolicy
:
Always
name
:
dj-app
ports
:
-
containerPort
:
80
protocol
:
TCP
resources
:
limits
:
cpu
:
800m
memory
:
1024Mi
requests
:
cpu
:
300m
memory
:
500Mi
terminationMessagePath
:
/dev/termination-log
terminationMessagePolicy
:
File
imagePullSecrets
:
-
name
:
harbor-secret
dnsPolicy
:
ClusterFirst
restartPolicy
:
Always
terminationGracePeriodSeconds
:
30
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