To install flippy in kubernetes cluster following information needed.
-
Create Kubernetes Service Account.
Example ---- apiVersion: v1 kind: ServiceAccount metadata: labels: k8s-app: flippy name: flippy-service-account namespace: istio-system ---
-
Create Kubernetes Cluster Role & Role Binding
Example ---- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: flippy-cluster-role namespace: istio-system labels: k8s-app: flippy rules: - apiGroups: ["*"] resources: ["configmaps","pods","namespaces","deployments","replicasets"] verbs: ["*"] - apiGroups: ["argoproj.io"] resources: ["*"] verbs: ["*"] - apiGroups: ["keikoproj.io"] resources: ["*"] verbs: ["*"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: flippy-cluster-role-binding namespace: istio-system labels: k8s-app: flippy roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: flippy-cluster-role subjects: - kind: ServiceAccount name: flippy-service-account namespace: istio-system ---
-
Install CRD
kubectl apply -f config/crd/bases/keikoproj.io_flippyconfigs.yaml
Feel free to refer sample Example deployment.
Feel free to refer sample Flippy Config