How to create a replicaset through a custom resource?

12/6/2017

I want to create a custom resource that is able to create a replicaset under a certain event. What is the best way to accomplish this?

Note that I am aware of deployment, but deployment does not meet my intended use cases.

-- jxt91
kubernetes

1 Answer

12/6/2017

Seems like you might be looking into building something that would suit more or less the operator pattern.

Generaly you need to watch on some resources including your custom ones with kube client and act based on events propagated from kube API.

-- Radek 'Goblin' Pieczonka
Source: StackOverflow