浏览代码

remove exmaple

john lockman 5 年之前
父节点
当前提交
12dba17dbb
共有 1 个文件被更改,包括 0 次插入43 次删除
  1. 0 43
      device-plugin.yaml

+ 0 - 43
device-plugin.yaml

@@ -1,43 +0,0 @@
-apiVersion: extensions/v1beta1
-kind: DaemonSet
-metadata:
-  name: rdma-sriov-dp-ds
-  namespace: kube-system
-spec:
-  template:
-    metadata:
-      # Mark this pod as a critical add-on; when enabled, the critical add-on scheduler
-      # reserves resources for critical add-on pods so that they can be rescheduled after
-      # a failure.  This annotation works in tandem with the toleration below.
-      annotations:
-        scheduler.alpha.kubernetes.io/critical-pod: ""
-      labels:
-        name: rdma-sriov-dp-ds
-    spec:
-      hostNetwork: true
-      tolerations:
-      # Allow this pod to be rescheduled while the node is in "critical add-ons only" mode.
-      # This, along with the annotation above marks this pod as a critical add-on.
-      - key: CriticalAddonsOnly
-        operator: Exists
-      containers:
-      - image: rdma/k8s-rdma-sriov-dev-plugin
-        name: k8s-rdma-sriov-dp-ds
-        imagePullPolicy: IfNotPresent
-        securityContext:
-          privileged: true
-        volumeMounts:
-          - name: device-plugin
-            mountPath: /var/lib/kubelet/device-plugins
-          - name: config
-            mountPath: /k8s-rdma-sriov-dev-plugin
-      volumes:
-        - name: device-plugin
-          hostPath:
-            path: /var/lib/kubelet/device-plugins
-        - name: config
-          configMap:
-            name: rdma-devices
-            items:
-            - key: config.json
-              path: config.json