We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
# kubectl -n kube-backup logs kube-system-backup-1563803760-fr68x 14:01:52.411: Args: {target_path: "./kube_state", repo_url: "ssh://[email protected]:32222/mbr/k8-repo-test.git", extra_resources: "certificate,issuer,alertmanager,prometheus,prometheusrule,servicemonitor", verbose: true} 14:01:52.411: Types: [:serviceaccount, :secret, :deployment, :daemonset, :statefulset, :configmap, :cronjob, :ingress, :networkpolicy, :persistentvolumeclaim, :role, :rolebinding, :service, :pod, :endpoints, :resourcequota, :horizontalpodautoscaler, :certificate, :issuer, :alertmanager, :prometheus, :prometheusrule, :servicemonitor] 14:01:52.411: RUN ssh-keyscan -H git.example.org >> /root/.ssh/known_hosts error: . Use --trace to view backtrace 14:01:57.480: Process 10 exit with code 1 14:01:57.480:
Thanks.
# kubectl version Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.8", GitCommit:"0c6d31a99f81476dfc9871ba3cf3f597bec29b58", GitTreeState:"clean", BuildDate:"2019-07-08T08:46:01Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.8", GitCommit:"0c6d31a99f81476dfc9871ba3cf3f597bec29b58", GitTreeState:"clean", BuildDate:"2019-07-08T08:38:54Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
The text was updated successfully, but these errors were encountered:
seems like error is in ssh-keyscan command. If you run it inside pod, is there any error?
ssh-keyscan
It checks /root/.ssh/known_hosts if host not in file, it will try to add key there but running command
/root/.ssh/known_hosts
ssh-keyscan -H git.example.org >> /root/.ssh/known_hosts
If that command can not complete then you may provide known_hosts file my mounting secret or configmap
Sorry, something went wrong.
I cannot exec into the pod because it is not running (because of the error)
I just tried to add our internal git-Server and also got errors.
I haven't a clue about ruby, so I can only help do debug what you tell me :)
No branches or pull requests
Thanks.
The text was updated successfully, but these errors were encountered: