mirror of
https://github.com/cnrancher/kube-explorer.git
synced 2025-07-15 15:32:10 +00:00
Add kubectl shell pod
This commit is contained in:
parent
d5ecaaa18c
commit
f3432ff282
@ -27,3 +27,31 @@ spec:
|
||||
args:
|
||||
- "--https-listen-port=0"
|
||||
- "--http-listen-port=8989"
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: kube-explorer-shell
|
||||
namespace: kube-system
|
||||
labels:
|
||||
app: kube-explorer-shell
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: kube-explorer-shell
|
||||
template:
|
||||
metadata:
|
||||
namespace: kube-system
|
||||
labels:
|
||||
app: kube-explorer-shell
|
||||
spec:
|
||||
serviceAccountName: kube-explorer
|
||||
containers:
|
||||
- image: rancher/shell:v0.1.6
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: shell
|
||||
stdin: true
|
||||
tty: true
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
|
Loading…
Reference in New Issue
Block a user