1 aerospike kubernetes kubernetes-helm cert-manager amazon-eks
强文本直到证书经理每个吊舱都工作良好,如 aerospike 文档所示。但在安装操作员时,操作员吊舱会发生崩溃循环退避。
安装操作员使用:
git clone https://github.com/aerospike/aerospike-kubernetes-operator.git
git checkout 2.5.0
cd aerospike-kubernetes-operator/helm-charts
helm install aerospike-kubernetes-operator ./aerospike-kubernetes-operator --set replicas=3
Run Code Online (Sandbox Code Playgroud)
Pod 运行:
PS C:\Users\B.Jimmy\aerospike-kubernetes-operator-1.0.0> kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
cert-manager cert-manager-576c79cb45-xkr88 1/1 Running 0 4h41m
cert-manager cert-manager-cainjector-664f76bc59-4b5kz 1/1 Running 0 4h41m
cert-manager cert-manager-webhook-5d4fd5cb7f-f96qx 1/1 Running 0 4h41m
default aerospike-kubernetes-operator-7bbb8745c8-86884 1/2 CrashLoopBackOff 36 (59s ago) 159m
default aerospike-kubernetes-operator-7bbb8745c8-jzkww 1/2 Error 36 (5m14s ago) 159m
kube-system aws-node-7b4nb 1/1 Running 0 21h
kube-system aws-node-llnzh 1/1 Running 0 21h
kube-system coredns-6c97f4f789-fhnq6 1/1 Running 0 21h
kube-system coredns-6c97f4f789-wmcdm 1/1 Running 0 21h
kube-system kube-proxy-5gwld 1/1 Running 0 21h
kube-system kube-proxy-z2nwk 1/1 Running 0 21h
olm catalog-operator-56db4cd676-hln6h 1/1 Running 0 21h
olm olm-operator-5b8f867598-7h9z6 1/1 Running 0 21h
olm operatorhubio-catalog-bd8rq 1/1 Running 0 178m
olm packageserver-7cbbc9c85f-jms5f 1/1 Running 0 21h
olm packageserver-7cbbc9c85f-z45jg 1/1 Running 0 21h
Run Code Online (Sandbox Code Playgroud)
Pod 崩溃日志:
PS C:\Users\B.Jimmy\aerospike-kubernetes-operator-1.0.0> kubectl logs -f aerospike-kubernetes-operator-7bbb8745c8-86884
Defaulted container "manager" out of: manager, kube-rbac-proxy
flag provided but not defined: -config
Usage of /manager:
-health-probe-bind-address string
The address the probe endpoint binds to. (default ":8081")
-kubeconfig string
Paths to a kubeconfig. Only required if out-of-cluster.
-leader-elect
Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager.
-metrics-bind-address string
The address the metric endpoint binds to. (default ":8080")
-zap-devel
Development Mode defaults(encoder=consoleEncoder,logLevel=Debug,stackTraceLevel=Warn). Production Mode defaults(encoder=jsonEncoder,logLevel=Info,stackTraceLevel=Error) (default true)
-zap-encoder value
Zap log encoding (one of 'json' or 'console')
-zap-log-level value
Zap Level to configure the verbosity of logging. Can be one of 'debug', 'info', 'error', or any integer value > 0 which corresponds to custom debug levels of increasing verbosity
-zap-stacktrace-level value
Zap Level at and above which stacktraces are captured (one of 'info', 'error', 'panic').
Run Code Online (Sandbox Code Playgroud)
安装 cert-manager 后是否需要配置 nginx ingress?
小智 5
我可以按照您提供的步骤重新创建类似的行为。我认为与分支结帐有关的这些步骤可能会出现意外的错误输入,因此它尝试使用分支master而不是2.5.0
步骤应该是:
git clone https://github.com/aerospike/aerospike-kubernetes-operator.git
cd aerospike-kubernetes-operator/helm-charts
git checkout 2.5.0
helm install aerospike-kubernetes-operator ./aerospike-kubernetes-operator --set replicas=3
Run Code Online (Sandbox Code Playgroud)
注意cd和git checkout命令翻转了
**注意:您可能需要先卸载当前的 Helm Chart,然后才能重新安装 **
例子:
helm uninstall aerospike-kubernetes-operator
Run Code Online (Sandbox Code Playgroud)
附带说明:我发现您已经有了 OLM 命名空间,并且使用 AKO 的 OLM 安装可能会受益: https: //docs.aerospike.com/cloud/kubernetes/operator/install-operator-operatorhub
希望这有帮助!
| 归档时间: |
|
| 查看次数: |
132 次 |
| 最近记录: |