Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

local additional volume being created on scheduled node #737

Open
c-raghav opened this issue Sep 23, 2019 · 0 comments
Open

local additional volume being created on scheduled node #737

c-raghav opened this issue Sep 23, 2019 · 0 comments
Assignees

Comments

@c-raghav
Copy link

local additional volume being created on scheduled node

Find the output and yml below

OC-Master00-Varlogmessage-10.50.0.156.txt
OC-Master00-3PARdcvLogs-10.50.0.156.txt
OC-Master02-10.50.0.162.txt


apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-driverless
spec:
capacity:
storage: 35Gi
accessModes:
- ReadWriteOnce
flexVolume:
driver: hpe.com/hpe
options:


kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: pvc-driverless
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 35Gi


apiVersion: v1
kind: Pod
metadata:
name: pod-driverless
spec:
containers:

  • name: minio
    image: minio/minio:latest
    args:
    • server
    • /export
      env:
    • name: MINIO_ACCESS_KEY
      value: minio
    • name: MINIO_SECRET_KEY
      value: doryspeakswhale
      ports:
    • containerPort: 9000
      volumeMounts:
    • name: export
      mountPath: /export
      volumes:
    • name: export
      persistentVolumeClaim:
      claimName: pvc-driverless

=====
Output on scheduled node

[root@cld6b12-openshift-master02 ~]# docker volume ls
DRIVER VOLUME NAME
local 5555cfa768a27409460ba3c7f9f6bc170464abcb49779f337c0de8357753be16
hpe pv-driverless

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants