Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
devops-java-sample
Project
Project
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
devops
devops-java-sample
Commits
49b50763
Commit
49b50763
authored
Apr 12, 2019
by
runzexia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add no branch deploy file
parent
8beeafa1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
0 deletions
+68
-0
devops-sample-svc.yaml
deploy/no-branch-dev/devops-sample-svc.yaml
+21
-0
devops-sample.yaml
deploy/no-branch-dev/devops-sample.yaml
+47
-0
No files found.
deploy/no-branch-dev/devops-sample-svc.yaml
0 → 100644
View file @
49b50763
apiVersion
:
v1
kind
:
Service
metadata
:
labels
:
app
:
kubesphere
component
:
ks-sample-dev
name
:
ks-sample-dev
namespace
:
kubesphere-sample-dev
spec
:
ports
:
-
name
:
http
port
:
8080
protocol
:
TCP
targetPort
:
8080
nodePort
:
30861
selector
:
app
:
kubesphere
component
:
ks-sample-dev
tier
:
backend
sessionAffinity
:
None
type
:
NodePort
\ No newline at end of file
deploy/no-branch-dev/devops-sample.yaml
0 → 100644
View file @
49b50763
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
labels
:
app
:
kubesphere
component
:
ks-sample-dev
tier
:
backend
name
:
ks-sample-dev
namespace
:
kubesphere-sample-dev
spec
:
progressDeadlineSeconds
:
600
replicas
:
1
selector
:
matchLabels
:
app
:
kubesphere
component
:
ks-sample-dev
tier
:
backend
template
:
metadata
:
labels
:
app
:
kubesphere
component
:
ks-sample-dev
tier
:
backend
spec
:
containers
:
-
image
:
$REDISTRY/$DOCKERHUB_NAMESPACE/$APP_NAME:SNAPSHOT-$BUILD_NUMBER
imagePullPolicy
:
Always
name
:
ks-sample
readinessProbe
:
httpGet
:
path
:
/
port
:
8080
ports
:
-
containerPort
:
8080
protocol
:
TCP
resources
:
limits
:
cpu
:
200m
memory
:
500Mi
requests
:
cpu
:
100m
memory
:
100Mi
terminationMessagePath
:
/dev/termination-log
terminationMessagePolicy
:
File
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