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
apiVersion
:
apps/v1
kind
:
Deployment
kind
:
Deployment
metadata
:
metadata
:
name
:
base
name
:
base
station
labels
:
labels
:
app
:
cluster
app
:
cluster
node
:
base
node
:
base
station
spec
:
spec
:
replicas
:
1
replicas
:
1
selector
:
selector
:
matchLabels
:
matchLabels
:
node
:
base
node
:
base
station
app
:
cluster
app
:
cluster
template
:
template
:
metadata
:
metadata
:
labels
:
labels
:
app
:
cluster
# gotta match spec-template-metadata-labels
app
:
cluster
# gotta match spec-template-metadata-labels
node
:
base
node
:
base
station
spec
:
spec
:
hostname
:
service-master
hostname
:
basestation
volumes
:
tolerations
:
-
name
:
image-storage
-
key
:
"
node-role.kubernetes.io/master"
persistentVolumeClaim
:
effect
:
"
NoSchedule"
claimName
:
image-volume-claim
operator
:
"
Exists"
-
key
:
"
node-role.kubernetes.io/control-plane"
effect
:
"
NoSchedule"
operator
:
"
Exists"
-
key
:
"
node.kubernetes.io/disk-pressure"
effect
:
"
NoSchedule"
operator
:
"
Exists"
containers
:
containers
:
-
name
:
base
-
name
:
base
station
securityContext
:
securityContext
:
privileged
:
true
privileged
:
true
volumeMounts
:
image
:
localhost:5000/ros-base-station:latest
-
name
:
image-storage
command
:
[
"
usr/bin/bash"
]
mountPath
:
/home/ssher/imageNFS
args
:
[
"
-c"
,
"
source
/opt/ros/noetic/setup.bash
&&
source
/catkin_ws/devel/setup.bash
&&
alias
python=python3
&&
echo
ready
&&
/usr/sbin/sshd
-D"
]
image
:
llh/basestation:v0
command
:
[
"
/bin/bash"
]
args
:
[
"
-c"
,
"
source
/opt/ros_ws/devel/setup.bash
&&
/usr/local/bin/ros_entrypoint.sh
&&
roscore"
]
ports
:
ports
:
-
containerPort
:
11311
-
containerPort
:
11311
name
:
baseport
name
:
baseport
nodeSelector
:
nodeSelector
:
kubernetes.io/hostname
:
pop-os
kubernetes.io/hostname
:
turbokang
---
---
apiVersion
:
v1
apiVersion
:
v1
...
@@ -46,12 +49,12 @@ metadata:
...
@@ -46,12 +49,12 @@ metadata:
name
:
service-master
name
:
service-master
labels
:
labels
:
app
:
cluster
app
:
cluster
node
:
base
node
:
base
station
spec
:
spec
:
clusterIP
:
None
clusterIP
:
None
ports
:
ports
:
-
port
:
11311
-
port
:
11311
name
:
base
name
:
base
station
selector
:
selector
:
node
:
base
node
:
base
station
app
:
cluster
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