gyliu513 / roadmap

Daily Work
Apache License 2.0
16 stars 13 forks source link

interface of HA #13

Closed gyliu513 closed 4 years ago

gyliu513 commented 4 years ago
kind: NodeHAController
apiVersion: node.hacontroller.io/v1alpha1
metadata:
  name: my-node-ha-contrtoller
spec:
  key: value
---
kind: HAController
apiVersion: hacontroller.io/v1alpha1
metadata:
  name: my-ha-controller
spec:
  haControllerRef:
    kind: NodeHAController
    apiVersion: node.hacontroller.io/v1alpha1
    name: my-node-ha-contrtoller
kind: ClusterHAController
apiVersion: cluster.hacontroller.io/v1alpha1
metadata:
  name: my-cluster-ha-contrtoller
spec:
  key: value
---
kind: HAController
apiVersion: hacontroller.io/v1alpha1
metadata:
  name: my-ha-controller
spec:
  haControllerRef:
    kind: ClusterHAController
    apiVersion: cluster.hacontroller.io/v1alpha1
    name: my-cluster-ha-contrtoller
kind: AppHAController
apiVersion: app.hacontroller.io/v1alpha1
metadata:
  name: my-app-ha-contrtoller
spec:
  key: value
---
kind: HAController
apiVersion: hacontroller.io/v1alpha1
metadata:
  name: my-ha-controller
spec:
  haControllerRef:
    kind: AppHAController
    apiVersion: app.hacontroller.io/v1alpha1
    name: my-app-ha-contrtoller
kind: FooHAController
apiVersion: foo.hacontroller.io/v1alpha1
metadata:
  name: my-foo-ha-contrtoller
spec:
  key: value
---
kind: HAController
apiVersion: hacontroller.io/v1alpha1
metadata:
  name: my-foo-controller
spec:
  haControllerRef:
    kind: FooHAController
    apiVersion: foo.hacontroller.io/v1alpha1
    name: my-foo-ha-contrtoller