This is an automated email from the ASF dual-hosted git repository.

ywkim pushed a commit to branch cnb
in repository https://gitbox.apache.org/repos/asf/bigtop.git

commit 0449b74054f6ff67d6db81bc186ac3138762f370
Author: Youngwoo Kim <[email protected]>
AuthorDate: Mon Oct 14 16:00:22 2019 +0900

    BIGTOP-3244: Remove Minio operator and hostpath provisioner
---
 minio/object-store.yaml       | 63 ---------------------------
 minio/operator.yaml           | 99 -------------------------------------------
 storage-provisioner/README.md | 28 ------------
 3 files changed, 190 deletions(-)

diff --git a/minio/object-store.yaml b/minio/object-store.yaml
deleted file mode 100755
index 2afc9ce..0000000
--- a/minio/object-store.yaml
+++ /dev/null
@@ -1,63 +0,0 @@
-apiVersion: v1
-kind: Secret
-metadata:
-  name: minio-my-store-access-keys
-type: Opaque
-data:
-  # Base64 encoded string: "TEMP_DEMO_ACCESS_KEY"
-  username: bWluaW8K
-  # Base64 encoded string: "TEMP_DEMO_SECRET_KEY"
-  password: bWluaW8xMjMK
----
-apiVersion: minio.rook.io/v1alpha1
-kind: ObjectStore
-metadata:
-  name: my-store
-spec:
-  scope:
-    nodeCount: 4
-    # You can have multiple PersistentVolumeClaims in the volumeClaimTemplates 
list.
-    # Be aware though that all PersistentVolumeClaim Templates will be used 
for each intance (see nodeCount).
-    volumeClaimTemplates:
-    - metadata:
-        name: rook-minio-data1
-      spec:
-        accessModes: [ "ReadWriteOnce" ]
-        # Set the storage class that will be used, otherwise Kubernetes' 
default storage class will be used.
-        #storageClassName: "my-storage-class"
-        resources:
-          requests:
-            storage: "1M"
-    #- metadata:
-    #    name: rook-minio-data2
-    #  spec:
-    #    accessModes: [ "ReadWriteOnce" ]
-    #    # Uncomment and specify your StorageClass, otherwise
-    #    # the cluster admin defined default StorageClass will be used.
-    #    #storageClassName: "your-cluster-storageclass"
-    #    resources:
-    #      requests:
-    #        storage: "8Gi"
-  # A key value list of annotations
-  annotations:
-  #  key: value
-  placement:
-    tolerations:
-    nodeAffinity:
-    podAffinity:
-    podAnyAffinity:
-  credentials:
-    name: minio-my-store-access-keys
-    namespace: rook-minio
-  clusterDomain:
----
-apiVersion: v1
-kind: Service
-metadata:
-  name: minio-my-store
-spec:
-  type: NodePort
-  ports:
-    - port: 9000
-  selector:
-    app: minio
diff --git a/minio/operator.yaml b/minio/operator.yaml
deleted file mode 100755
index 3b347c5..0000000
--- a/minio/operator.yaml
+++ /dev/null
@@ -1,99 +0,0 @@
-apiVersion: apiextensions.k8s.io/v1beta1
-kind: CustomResourceDefinition
-metadata:
-  name: objectstores.minio.rook.io
-spec:
-  group: minio.rook.io
-  names:
-    kind: ObjectStore
-    listKind: ObjectStoreList
-    plural: objectstores
-    singular: objectstore
-  scope: Namespaced
-  version: v1alpha1
----
-apiVersion: rbac.authorization.k8s.io/v1beta1
-kind: ClusterRole
-metadata:
-  name: rook-minio-operator
-rules:
-- apiGroups:
-  - ""
-  resources:
-  - namespaces
-  - secrets
-  - pods
-  - services
-  verbs:
-  - get
-  - watch
-  - create
-  - update
-- apiGroups:
-  - apps
-  resources:
-  - statefulsets
-  verbs:
-  - get
-  - create
-  - update
-- apiGroups:
-  - minio.rook.io
-  resources:
-  - "*"
-  verbs:
-  - "*"
-- apiGroups:
-  - rook.io
-  resources:
-  - "*"
-  verbs:
-  - "*"
----
-apiVersion: v1
-kind: ServiceAccount
-metadata:
-  name: rook-minio-operator
----
-kind: ClusterRoleBinding
-apiVersion: rbac.authorization.k8s.io/v1beta1
-metadata:
-  name: rook-minio-operator
-roleRef:
-  apiGroup: rbac.authorization.k8s.io
-  kind: ClusterRole
-  name: rook-minio-operator
-subjects:
-- kind: ServiceAccount
-  name: rook-minio-operator
----
-apiVersion: apps/v1
-kind: Deployment
-metadata:
-  name: rook-minio-operator
-  labels:
-    app: rook-minio-operator
-spec:
-  selector:
-    matchLabels:
-      app: rook-minio-operator
-  replicas: 1
-  template:
-    metadata:
-      labels:
-        app: rook-minio-operator
-    spec:
-      serviceAccountName: rook-minio-operator
-      containers:
-      - name: rook-minio-operator
-        image: rook/minio:v1.0.5
-        args: ["minio", "operator"]
-        env:
-        - name: POD_NAME
-          valueFrom:
-            fieldRef:
-              fieldPath: metadata.name
-        - name: POD_NAMESPACE
-          valueFrom:
-            fieldRef:
-              fieldPath: metadata.namespace
diff --git a/storage-provisioner/README.md b/storage-provisioner/README.md
deleted file mode 100755
index 09abdd1..0000000
--- a/storage-provisioner/README.md
+++ /dev/null
@@ -1,28 +0,0 @@
-1. The easiest way to get simple PVCs working on a one node cluster:
-
-```
-helm upgrade --install hostpath-provisioner --namespace kube-system 
rimusz/hostpath-provisioner
-```
-
-2. NFS is better for a real cluster, and mostly as easy as 
hostpath-provisioner.
-
-```
- helm install stable/nfs-server-provisioner
-```
-
-Alternatively, NFS or other proper distributed filesystems can be used
-out of the box.
-
-After installing the NFS provisioner, run:
-
-```
-
-kubectl patch storageclass nfs -p '{"metadata": 
{"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
-
-```
-
-Which will make dynamic volumes needed by ZK and so on provisioned
-via NFS.
-
-
-For Minio --- see the presto3-minio work, which includes helm instructions for 
minio alongside presto as well.

Reply via email to