Giter VIP home page Giter VIP logo

wharf-multicluster-sync's People

Contributors

esnible avatar fabolive avatar kalantar avatar linsun avatar mbanikazemi avatar ymesika avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wharf-multicluster-sync's Issues

Server-side Istio resources created in default namespace

To reproduce, create a non-default ServiceExpositionPolicy

apiVersion: multicluster.istio.io/v1alpha1
kind: ServiceExpositionPolicy
metadata:
  annotations:
  name: ratings
  namespace: bookinfo
spec:
  exposed:
  - name: ratings
    port: 9080

Run the CLI tool:
mc-tool --filename /tmp/ratings_sep.yaml --mc-conf-filename /tmp/mc-config.yaml

The stdout Istio config will be in the default, not bookinfo, namespace.

E2e tests

Use Istio's testing framework (with its preliminary support for Multi-Cluster) to conduct an e2e test.
Test should be able to run on CircleCI.

Experiment running the POC without CRDs

Following community feedback, examine the implications of running the same POC scenarios with:

  • Replacing the ServiceExpositionPolicy with service annotations
  • Replacing the RemoteServiceBinding with ServiceEntry. May require modifying the ServiceEntry definition.

Tutorial agents fail with "Peer agent [cluster2] is not accessible. response status code is not OK"

The agents are running servers, and the servers do what is expected:

kubectl --context $CLUSTER2 -n istio-system exec -it mc-agent-6b5cd56595-5gcxc -- wget -O - mc-agent.istio-system.svc.cluster.local:8999/exposed/cluster1

However the services are not exposed to the outside. I get 503s

curl  169.62.214.226:80/exposed/cluster1
upstream connect error or disconnect/reset before headers

The error is 503.

I see a VirtualService directing /exposed to mc-agent.istio-system.svc.cluster.local port 8999 so I don't know what is going wrong.

install_citadel.sh expects unknown variable.

install_citadel.sh depends on $ROOTCA being defined. I think the expectation is that source ./demo_context.sh will set this. However, this is not the case. Only $ROOTCA_NAME is set.

Work around: ROOTCA=$ROOTCA_NAME ./demo_context.sh <args>

Well defined agent API

Consider using a gRPC and protobuf to create a well defined yet generic API between the agents.
This API / agent may also be used for other design such as the Multi-Cloud.

Tutorial that works with two clusters

The current tutorial requires 3 clusters. This work item is to change the tutorial to put Ratings on Cluster1.

It is unclear if we should replace the tutorial with the two-cluster version or keep the three-cluster version as a secondary tutorial.

Add sidecar to the agent pod

This will add the support for running an mTLS connection between the agent and the other Istio components (ingress / egress).

Blog

Document the work done in this POC and steps to run it by publishing a blog about it.
Publication channel is yet to be determined.

Agent logging many "forbidden" warnings

Every second the agent logs

E1008 19:18:48.768821       1 reflector.go:205] github.ibm.com/istio-research/multicluster-roadmap/vendor/istio.io/istio/pilot/pkg/config/kube/crd/controller.go:208: Failed to list *crd.ServiceEntry: serviceentries.networking.istio.io is forbidden: User "system:serviceaccount:default:multi-cluster-agent-service-account" cannot list serviceentries.networking.istio.io at the cluster scope

and also logs the same thing for destinationrules.networking.istio.io, serviceexpositionpolicies.multicluster.istio.io, servicerolebindings.rbac.istio.io, remoteservicebindings.multicluster.istio.io, virtualservices.networking.istio.io, gateways.networking.istio.io, quotaspecs.config.istio.io, httpapispecbindings.config.istio.io, httpapispecs.config.istio.io, rbacconfigs.rbac.istio.io, envoyfilters.networking.istio.io, serviceroles.rbac.istio.io, meshpolicies.authentication.istio.io, quotaspecbindings.config.istio.io, policies.authentication.istio.io

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.