Deploy Xubuntu on Kubernetes

Jbn1233
Jan 19, 2025

--

Thanks image from hectorm/xubuntu and apply with this yaml

apiVersion: apps/v1
kind: Deployment
metadata:
name: xubuntu
labels:
app: xubuntu
spec:
replicas: 1
selector:
matchLabels:
app: xubuntu
template:
metadata:
labels:
app: xubuntu
spec:
containers:
- name: xubuntu
image: hectorm/xubuntu:v122
ports:
- containerPort: 3389
resources:
limits:
memory: "2Gi"
volumeMounts:
- name: shm
mountPath: /dev/shm
volumes:
- name: shm
emptyDir:
medium: Memory

Result:

Xubuntu GUI

That is all.

Refer:

https://hub.docker.com/r/hectorm/xubuntu

--

--

Jbn1233
Jbn1233

Written by Jbn1233

Very short and simple notes for CKA/SRE and may not works on your environment | jbn1233@gmail.com | Bangkok, Thailand |

No responses yet