diff --git a/example/deploy/0.1.2.yaml b/example/deploy/0.1.2.yaml deleted file mode 100644 index 2f6caa31..00000000 --- a/example/deploy/0.1.2.yaml +++ /dev/null @@ -1,74 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - creationTimestamp: null - labels: - app: kube-vip-cluster - name: kube-vip-cluster -spec: - replicas: 3 - selector: - matchLabels: - app: kube-vip-cluster - strategy: {} - template: - metadata: - creationTimestamp: null - labels: - app: kube-vip-cluster - spec: - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: "app" - operator: In - values: - - kube-vip-cluster - topologyKey: "kubernetes.io/hostname" - containers: - - image: ghcr.io/kube-vip/kube-vip:0.3.7 - imagePullPolicy: Always - name: kube-vip - command: - - /kube-vip - - service - - --configMap - - plndr-configmap - - --arp - - --interface - - ens192 - - --log - - "5" - resources: {} - securityContext: - capabilities: - add: - - NET_ADMIN - hostNetwork: true -status: {} ---- -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: lease-access -rules: - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "create", "update", "list", "put"] - - apiGroups: [""] - resources: ["configMap"] - verbs: ["get"] ---- -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: lease-access -subjects: - - kind: User - name: system:serviceaccount:default:default -roleRef: - kind: Role - name: lease-access - apiGroup: rbac.authorization.k8s.io diff --git a/example/deploy/0.1.3.yaml b/example/deploy/0.1.3.yaml deleted file mode 100644 index b76bf985..00000000 --- a/example/deploy/0.1.3.yaml +++ /dev/null @@ -1,83 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: vip ---- -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: vip-role -rules: - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "create", "update", "list", "put"] - - apiGroups: [""] - resources: ["configmaps", "endpoints"] - verbs: ["watch", "get"] ---- -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: vip-role-bind -subjects: - - kind: ServiceAccount - name: vip - apiGroup: "" -roleRef: - kind: Role - name: vip-role - apiGroup: "" ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - creationTimestamp: null - labels: - app: kube-vip-cluster - name: kube-vip-cluster -spec: - replicas: 3 - selector: - matchLabels: - app: kube-vip-cluster - strategy: {} - template: - metadata: - creationTimestamp: null - labels: - app: kube-vip-cluster - spec: - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: "app" - operator: In - values: - - kube-vip-cluster - topologyKey: "kubernetes.io/hostname" - containers: - - image: ghcr.io/kube-vip/kube-vip:0.3.7 - imagePullPolicy: Always - name: kube-vip - command: - - /kube-vip - - service - env: - - name: vip_interface - value: "ens192" - - name: vip_configmap - value: "plndr" - - name: vip_arp - value: "true" - - name: vip_loglevel - value: "5" - resources: {} - securityContext: - capabilities: - add: - - NET_ADMIN - hostNetwork: true - serviceAccountName: vip -status: {} \ No newline at end of file diff --git a/example/deploy/0.1.4.yaml b/example/deploy/0.1.4.yaml deleted file mode 100644 index dbf33a2c..00000000 --- a/example/deploy/0.1.4.yaml +++ /dev/null @@ -1,83 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: vip ---- -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: vip-role -rules: - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "create", "update", "list", "put"] - - apiGroups: [""] - resources: ["configmaps", "endpoints"] - verbs: ["watch", "get"] ---- -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: vip-role-bind -subjects: - - kind: ServiceAccount - name: vip - apiGroup: "" -roleRef: - kind: Role - name: vip-role - apiGroup: "" ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - creationTimestamp: null - labels: - app: kube-vip-cluster - name: kube-vip-cluster -spec: - replicas: 3 - selector: - matchLabels: - app: kube-vip-cluster - strategy: {} - template: - metadata: - creationTimestamp: null - labels: - app: kube-vip-cluster - spec: - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: "app" - operator: In - values: - - kube-vip-cluster - topologyKey: "kubernetes.io/hostname" - containers: - - image: plndr/kube-vip:0.1.4 - imagePullPolicy: Always - name: kube-vip - command: - - /kube-vip - - service - env: - - name: vip_interface - value: "ens192" - - name: vip_configmap - value: "plndr" - - name: vip_arp - value: "true" - - name: vip_loglevel - value: "5" - resources: {} - securityContext: - capabilities: - add: - - NET_ADMIN - hostNetwork: true - serviceAccountName: vip -status: {} \ No newline at end of file diff --git a/example/deploy/0.3.5.yaml b/example/deploy/0.3.5.yaml deleted file mode 100644 index a93da17f..00000000 --- a/example/deploy/0.3.5.yaml +++ /dev/null @@ -1,55 +0,0 @@ -apiVersion: apps/v1 -kind: DaemonSet -metadata: - creationTimestamp: null - name: kube-vip-ds - namespace: kube-system -spec: - selector: - matchLabels: - name: kube-vip-ds - template: - metadata: - creationTimestamp: null - labels: - name: kube-vip-ds - spec: - containers: - - args: - - manager - env: - - name: vip_arp - value: "true" - - name: vip_interface - value: eth0 - - name: port - value: "6443" - - name: vip_cidr - value: "32" - - name: svc_enable - value: "true" - - name: vip_startleader - value: "false" - - name: vip_addpeerstolb - value: "true" - - name: vip_localpeer - value: ip-172-20-40-207:172.20.40.207:10000 - - name: vip_address - image: plndr/kube-vip:v0.3.5 - imagePullPolicy: Always - name: kube-vip - resources: {} - securityContext: - capabilities: - add: - - NET_ADMIN - - NET_RAW - - SYS_TIME - hostNetwork: true - serviceAccountName: kube-vip - updateStrategy: {} -status: - currentNumberScheduled: 0 - desiredNumberScheduled: 0 - numberMisscheduled: 0 - numberReady: 0