Closed djuwa4 closed 4 years ago
sounds like you haven't installed the custom resource.
What's the output of kubectl get crd
?
What's the output of
kubectl get crd
? Oh sorry! I did not pay attention to the error when installing the tor-controller and was sure that it was installed. Now I corrected the error, installed the tor-controller, launched onionservice.yaml again. Now everything started perfectly. Thanks!
Hello! I use centos7, kubectl version: Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.4", GitCommit:"8d8aa39598534325ad77120c120a22b3a990b5ea", GitTreeState:"clean", BuildDate:"2020-03-12T20:55:23Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
I am doing a deployment with a fixed address, the points: Create echoserver.yaml: apiVersion: apps/v1 kind: Deployment metadata: name: http-app spec: replicas: 2 selector: matchLabels: app: http-app template: metadata: labels: app: http-app spec: containers:
After executing the command: kubectl apply -f onionservice.yaml I get an error: error: unable to recognize "./onionservice.yaml": no matches for kind "OnionService" in version "tor.k8s.io/v1alpha1"
Please tell me how can I fix this?