docker run -d -p 3389:3389 natereid/cc-xrdp:v.09
--OR--
docker run -d -p 3389:3389 -v ~:/home natereid/cc-xrdp:v.09
kubectl create ns app1
kubectl create -f ubuntu-rdp.yaml
kubectl expose deployment ubuntu-rdp --name=ubuntu-rdp-lb --port=3389 --target-port=3389 --type=LoadBalancer --namespace=app1
kubectl get services --all-namespaces
[ubuntu-rdp.yaml]
---
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: ubuntu-rdp
namespace: app1
labels:
app: ubuntu-rdp
tier: single
spec:
replicas: 2
selector:
matchLabels:
app: ubuntu-rdp
template:
metadata:
labels:
app: ubuntu-rdp
tier: single
spec:
containers:
- name: ubuntu-rdp
image: natereid/cc-xrdp:v.09
imagePullPolicy: IfNotPresent
---
apiVersion: v1
kind: Service
metadata:
name: ubuntu-rdp
namespace: app1
labels:
app: ubuntu-rdp
spec:
ports:
# the port that this service should serve on
- port: 3389
selector:
app: ubuntu-rdp
Content type
Image
Digest
Size
419.6 MB
Last updated
almost 8 years ago
docker pull natereid/cc-xrdp:v.09