Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
105 views
in Technique[技术] by (71.8m points)

Kubernetes operators

https://www.openshift.com/learn/topics/operators An Operator is a method of packaging, deploying and managing a Kubernetes-native application.

I'd like to understand if the application binary itself is packaged into the operator or is the application binary available somewhere else (for eg: an image registry) and the operator knows how to fetch the application binary ?

I'd appreciate your help with this .

question from:https://stackoverflow.com/questions/65929496/kubernetes-operators

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The binary is NOT packaged into the operator, and typically the operator does not fetch the binary either. You install the 'operand' and then you install the operator. This may be facilitated by Helm - either one chart or two.

The operator needs to find what it's operating on. It may be as simple as 'all XYZ applications in the same k8s namespace', or maybe it's specified via labels, annotations, etc.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...