Operator for managing ACK clusters in Rancher.
makeYou can find the binary in bin/,its name is ack-operator.
With a kubeconfig set in your shell, run the binary:
./ack-operatorApply the CRD:
kubectl apply -f templates/ackclusterconfig.yamlCreate a new cluster
kubectl apply -f examples/create-examples.yamlImport a exist cluster
kubectl apply -f examples/import-examples.yamlCreate a Opaque type Secret
apiVersion: v1
kind: Secret
metadata:
name: "<name>"
namespace: "<namespace>"
type: Opaque
data:
aliyunecscredentialConfig-accessKeyId: "<accessKeyId-based64-encoded>"
aliyunecscredentialConfig-accessKeySecret: "<accessKeySecret-based64-encoded>"You can get base64 encoded content with the command below
echo -n "content" | base64