-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
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
Multi-Primary Cluster On Different Network - There are some problems of installing multi-cluster on minikube #33434
Comments
can you how the output of ? It is probably getting hidden by the pipe |
The output is ❯ istioctl x create-remote-secret --context="${CTX_CLUSTER1}" --name=cluster1
2021-06-16T02:19:36.991349Z warn Server in Kubeconfig is https://127.0.0.1:59568. This is likely not reachable from inside the cluster.
If you're using Kubernetes in Docker, pass --server with the container IP for the API Server.
# This file is autogenerated, do not edit.
apiVersion: v1
kind: Secret
metadata:
annotations:
networking.istio.io/cluster: cluster1
creationTimestamp: null
labels:
istio/multiCluster: "true"
name: istio-remote-secret-cluster1
namespace: istio-system
stringData:
cluster1: |
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: **********
server: https://127.0.0.1:59568
name: cluster1
contexts:
- context:
cluster: cluster1
user: cluster1
name: cluster1
current-context: cluster1
kind: Config
preferences: {}
users:
- name: cluster1
user:
token: **********
--- |
Maybe that warning log is piped to kubectl and fails |
Yeah, I remove the warning log. Follow the guide, the second problem about cannot using a hostname-based gateway for east-west traffic was happened in the step of verifying the installation. |
@esnible should we be logging to stderr or similar? |
🚧 This issue or pull request has been closed due to not having had activity from an Istio team member since 2021-06-16. If you feel this issue or pull request deserves attention, please reopen the issue. Please see this wiki page for more information. Thank you for your contributions. Created by the issue and PR lifecycle manager. |
Bug description
Following Install Multi-Primary on different networks on minikube, there are some problems.
Affected product area (please put an X in all that apply)
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Affected features (please put an X in all that apply)
[X] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Expected behavior
I expected to get the same behavior that the guide expects.
Steps to reproduce the bug
Then follow Install Multi-Primary on different networks. And Installing remote secret failed as above on
Bug description
. I fixed error by replace service ip with api server ip. Finally I followed Verify the installation, and I got response from the same cluster service.Version (include the output of
istioctl version --remote
andkubectl version --short
andhelm version --short
if you used Helm)How was Istio installed?
Environment where the bug was observed (cloud vendor, OS, etc)
❯ uname -a Darwin jiangchaodeMacBook-Pro.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64
Additionally, please consider running
istioctl bug-report
and attach the generated cluster-state tarball to this issue.Refer cluster state archive for more details.
The text was updated successfully, but these errors were encountered: