Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
ROS-Kubernetes
Project
Project
Details
Activity
Releases
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
Larkin Heintzman
ROS-Kubernetes
Commits
7a041b3d
Commit
7a041b3d
authored
Oct 27, 2022
by
Larkin Heintzman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated base deployment with new image
parent
84e4d4c5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
21 deletions
+24
-21
base-deployment.yaml
kubernetes/base-deployment.yaml
+24
-21
No files found.
kubernetes/base-deployment.yaml
View file @
7a041b3d
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
base
name
:
base
station
labels
:
app
:
cluster
node
:
base
node
:
base
station
spec
:
replicas
:
1
selector
:
matchLabels
:
node
:
base
node
:
base
station
app
:
cluster
template
:
metadata
:
labels
:
app
:
cluster
# gotta match spec-template-metadata-labels
node
:
base
node
:
base
station
spec
:
hostname
:
service-master
volumes
:
-
name
:
image-storage
persistentVolumeClaim
:
claimName
:
image-volume-claim
hostname
:
basestation
tolerations
:
-
key
:
"
node-role.kubernetes.io/master"
effect
:
"
NoSchedule"
operator
:
"
Exists"
-
key
:
"
node-role.kubernetes.io/control-plane"
effect
:
"
NoSchedule"
operator
:
"
Exists"
-
key
:
"
node.kubernetes.io/disk-pressure"
effect
:
"
NoSchedule"
operator
:
"
Exists"
containers
:
-
name
:
base
-
name
:
base
station
securityContext
:
privileged
:
true
volumeMounts
:
-
name
:
image-storage
mountPath
:
/home/ssher/imageNFS
image
:
llh/basestation:v0
command
:
[
"
/bin/bash"
]
args
:
[
"
-c"
,
"
source
/opt/ros_ws/devel/setup.bash
&&
/usr/local/bin/ros_entrypoint.sh
&&
roscore"
]
image
:
localhost:5000/ros-base-station:latest
command
:
[
"
usr/bin/bash"
]
args
:
[
"
-c"
,
"
source
/opt/ros/noetic/setup.bash
&&
source
/catkin_ws/devel/setup.bash
&&
alias
python=python3
&&
echo
ready
&&
/usr/sbin/sshd
-D"
]
ports
:
-
containerPort
:
11311
name
:
baseport
nodeSelector
:
kubernetes.io/hostname
:
pop-os
kubernetes.io/hostname
:
turbokang
---
apiVersion
:
v1
...
...
@@ -46,12 +49,12 @@ metadata:
name
:
service-master
labels
:
app
:
cluster
node
:
base
node
:
base
station
spec
:
clusterIP
:
None
ports
:
-
port
:
11311
name
:
base
name
:
base
station
selector
:
node
:
base
node
:
base
station
app
:
cluster
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