Comments (7)
Can you check if the ServiceEntry has been created?
k get ServiceEntry -n dubbo -oyaml
The output should look like
NAME HOSTS LOCATION RESOLUTION AGE
test-dubbo-service [org.apache.dubbo.samples.basic.api.demoservice] MESH_INTERNAL STATIC 18h
from aeraki.
the ServiceEntry has been created
# k get ServiceEntry -n dubbo -oyaml
apiVersion: v1
items:
- apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
annotations:
interface: org.apache.dubbo.samples.basic.api.DemoService
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"networking.istio.io/v1alpha3","kind":"ServiceEntry","metadata":{"annotations":{"interface":"org.apache.dubbo.samples.basic.api.DemoService"},"name":"test-dubbo-service","namespace":"dubbo"},"spec":{"addresses":["193.193.192.192"],"hosts":["org.apache.dubbo.samples.basic.api.demoservice"],"ports":[{"name":"tcp-dubbo","number":20880,"protocol":"TCP"}],"resolution":"STATIC","workloadSelector":{"labels":{"app":"dubbo-sample-provider"}}}}
creationTimestamp: "2021-04-13T02:17:15Z"
generation: 1
managedFields:
- apiVersion: networking.istio.io/v1alpha3
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.: {}
f:interface: {}
f:kubectl.kubernetes.io/last-applied-configuration: {}
f:spec:
.: {}
f:addresses: {}
f:hosts: {}
f:ports: {}
f:resolution: {}
f:workloadSelector:
.: {}
f:labels:
.: {}
f:app: {}
manager: kubectl-client-side-apply
operation: Update
time: "2021-04-13T02:17:15Z"
name: test-dubbo-service
namespace: dubbo
resourceVersion: "4706194"
uid: 7b5ab92a-c3b8-4687-95f8-2a3c53c4d27a
spec:
addresses:
- 193.193.192.192
hosts:
- org.apache.dubbo.samples.basic.api.demoservice
ports:
- name: tcp-dubbo
number: 20880
protocol: TCP
resolution: STATIC
workloadSelector:
labels:
app: dubbo-sample-provider
kind: List
metadata:
resourceVersion: ""
selfLink: ""
# k get ServiceEntry -n dubbo
NAME HOSTS LOCATION RESOLUTION AGE
test-dubbo-service ["org.apache.dubbo.samples.basic.api.demoservice"] STATIC 18m
from aeraki.
If you follow the instruction on the README.md, it should work. How did you install the Istio? Have you enabled the pilot-agent DNS agent?
from aeraki.
i am sorry . i dont follow the instruction on the README.md, because my istio was installed a few months ago ! i install the istio by istioctl before.
istioctl install --set profile=demo -y
And install the aeraki after change the /demo/install-demo.sh
BASEDIR=$(dirname "$0")/..
SCRIPTS_DIR=$BASEDIR/test/e2e/scripts
COMMON_DIR=$BASEDIR/test/e2e/common
export ISTIO_VERSION=1.9.1
export BUILD_TAG=latest
bash ${SCRIPTS_DIR}/aeraki.sh
#bash ${SCRIPTS_DIR}/istio.sh -y -f ${COMMON_DIR}/istio-config.yaml
#kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.8/samples/addons/prometheus.yaml -n istio-system
#kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.8/samples/addons/grafana.yaml -n istio-system
#kubectl create namespace kiali-operator
#helm install \
# --set cr.create=true \
# --set cr.namespace=istio-system \
# --namespace kiali-operator \
# --repo https://kiali.org/helm-charts \
# kiali-operator \
# kiali-operator
#kubectl apply -f $BASEDIR/demo/gateway/demo-ingress.yaml -n istio-system
#kubectl apply -f $BASEDIR/demo/gateway/istio-ingressgateway.yaml -n istio-system
bash $BASEDIR/demo/dubbo/install.sh
#bash $BASEDIR/demo/thrift/install.sh
#bash ${BASEDIR}/demo/kafka/install.sh
What steps did I miss?
from aeraki.
by the way, the demo of thrift works normal
from aeraki.
You might not enable pilot-agent dns capture, please check https://github.com/aeraki-framework/aeraki/blob/master/test/e2e/common/istio-config.yaml for the Istio configuration.
from aeraki.
thank you very much, it works after enable pilot-agent dns capture!
from aeraki.
Related Issues (20)
- demo的aeraki镜像拉取失败
- 如何针对dubbo interface配置限流 HOT 5
- health checks
- when to support istio 1.16 HOT 4
- control plane adjust to 1.16 because envoyfilter error
- aeraki和采用envoy作为代理的云原生网关的案例 HOT 2
- AERAKI_IS_MASTER does not take effect
- Request for upgrading istio to 1.18 HOT 1
- governance:request to join steering committee HOT 2
- 【baidu】request to join steering committee HOT 2
- governance:request to join steering committee HOT 2
- 【HUAWEI】request to join steering committee HOT 3
- Code of Conduct update to replace mediator email with the CNCF committee email HOT 1
- CNCF TOC annual review due
- controller-runtimer: log.SetLogger(...) was never called, logs will not be displayed
- How to install in TCM HOT 1
- Aeraki连接istiod 15012加密端口失败 HOT 2
- Aeraki内存泄漏
- trpc is now opensource, can we support it? HOT 4
- Docs: Images link is invalid.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aeraki.