Skip to content
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

I don't know how to access sitewhere #140

Open
sujunquan opened this issue Jun 3, 2020 · 1 comment
Open

I don't know how to access sitewhere #140

sujunquan opened this issue Jun 3, 2020 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@sujunquan
Copy link

I am already deployed sitewhere, But I don't know how to access sitewhere.
if you know that, Please help me, Thank You so much!

Deploy informations

[root@operations-server ~]# helm list sitewhere
NAME REVISION UPDATED STATUS CHART NAMESPACE
sitewhere 1 Tue Jun 2 19:12:52 2020 DEPLOYED sitewhere-0.2.6 default

[root@operations-server ~]# kubectl get po
NAME READY STATUS RESTARTS AGE
nfs-client-provisioner-6f6cdf4549-wrqpg 1/1 Running 0 1d
nginx-795767fbd5-ttj6d 1/1 Running 1 89d
sitewhere-asset-management-67bd56b4b-nhp8j 2/2 Running 0 14h
sitewhere-batch-operations-6cb977cb86-kx59r 2/2 Running 0 14h
sitewhere-command-delivery-6f569b6df5-bzsfg 2/2 Running 0 14h
sitewhere-cp-kafka-0 1/1 Running 0 14h
sitewhere-cp-kafka-1 1/1 Running 0 14h
sitewhere-cp-kafka-2 1/1 Running 0 14h
sitewhere-cp-zookeeper-0 1/1 Running 0 14h
sitewhere-cp-zookeeper-1 1/1 Running 0 14h
sitewhere-cp-zookeeper-2 1/1 Running 0 14h
sitewhere-device-management-bbcccfbbd-5lh7d 2/2 Running 0 14h
sitewhere-device-registration-5999d77b45-h7smc 2/2 Running 0 14h
sitewhere-device-state-567786b64b-2v4rh 2/2 Running 0 14h
sitewhere-event-management-86cd69d86-f4zn8 2/2 Running 0 14h
sitewhere-event-search-866d8cb48b-hwjrz 2/2 Running 0 14h
sitewhere-event-sources-7465dcb66f-rdn22 2/2 Running 0 14h
sitewhere-inbound-processing-6c5db5b4cf-scwbk 2/2 Running 0 14h
sitewhere-instance-management-86d6bcfc5d-dvnvs 2/2 Running 0 14h
sitewhere-label-generation-58678f65f8-74xwt 2/2 Running 0 14h
sitewhere-mongodb-arbiter-0 1/1 Running 0 14h
sitewhere-mongodb-primary-0 1/1 Running 0 14h
sitewhere-mongodb-secondary-0 1/1 Running 0 14h
sitewhere-mosquitto-5955df46d8-bgwgd 1/1 Running 0 14h
sitewhere-outbound-connectors-67cd5d659c-798tb 2/2 Running 0 14h
sitewhere-postgresql-0 1/1 Running 0 14h
sitewhere-rule-processing-57b457765c-vrm6c 2/2 Running 0 14h
sitewhere-schedule-management-844bd4bfd8-dbrmk 2/2 Running 0 14h
sitewhere-streaming-media-7c78787544-vsqgf 2/2 Running 0 14h
sitewhere-syncope-5cb7d8b748-pf28n 1/1 Running 0 14h
sitewhere-syncope-console-84f8f44d96-sz9w2 1/1 Running 0 14h
sitewhere-syncope-enduser-79f597ffbf-cfc6w 1/1 Running 0 14h
sitewhere-tenantsdb-0 0/1 Pending 0 14h
sitewhere-web-rest-6c9f7f5789-spr2k 2/2 Running 0 14h

[root@operations-server ~]# kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.254.0.1 443/TCP 1y
sitewhere-asset-management-svc ClusterIP None 9000/TCP,9001/TCP,9090/TCP 14h
sitewhere-batch-operations-svc ClusterIP None 9000/TCP,9001/TCP,9090/TCP 14h
sitewhere-command-delivery-svc ClusterIP 10.254.97.187 9001/TCP,9090/TCP 14h
sitewhere-cp-kafka ClusterIP 10.254.133.60 9092/TCP 14h
sitewhere-cp-kafka-headless ClusterIP None 9092/TCP 14h
sitewhere-cp-zookeeper ClusterIP 10.254.123.66 2181/TCP 14h
sitewhere-cp-zookeeper-headless ClusterIP None 2888/TCP,3888/TCP 14h
sitewhere-device-management-svc ClusterIP None 9000/TCP,9001/TCP,9090/TCP 14h
sitewhere-device-registration-svc ClusterIP 10.254.202.6 9001/TCP,9090/TCP 14h
sitewhere-device-state-svc ClusterIP 10.254.126.105 9000/TCP,9001/TCP,9090/TCP 14h
sitewhere-event-management-svc ClusterIP None 9000/TCP,9001/TCP,9090/TCP 14h
sitewhere-event-search-svc ClusterIP 10.254.58.236 9000/TCP,9001/TCP,9090/TCP 14h
sitewhere-event-sources-svc ClusterIP 10.254.197.20 9001/TCP,9090/TCP 14h
sitewhere-inbound-processing-svc ClusterIP 10.254.111.229 9001/TCP,9090/TCP 14h
sitewhere-instance-management-svc ClusterIP 10.254.148.243 9000/TCP,9001/TCP,9004/TCP,9005/TCP,9090/TCP 14h
sitewhere-label-generation-svc ClusterIP 10.254.187.151 9000/TCP,9001/TCP,9090/TCP 14h
sitewhere-mongodb ClusterIP 10.254.53.131 27017/TCP 14h
sitewhere-mongodb-headless ClusterIP None 27017/TCP 14h
sitewhere-mosquitto-svc LoadBalancer 10.254.203.169 1883:47681/TCP 14h
sitewhere-outbound-connectors-svc ClusterIP 10.254.88.58 9001/TCP,9090/TCP 14h
sitewhere-postgresql ClusterIP 10.254.142.150 5432/TCP 14h
sitewhere-postgresql-headless ClusterIP None 5432/TCP 14h
sitewhere-rule-processing-svc ClusterIP 10.254.216.172 9001/TCP,9090/TCP 14h
sitewhere-schedule-management-svc ClusterIP None 9000/TCP,9001/TCP,9090/TCP 14h
sitewhere-streaming-media-svc ClusterIP 10.254.237.36 9000/TCP,9001/TCP,9090/TCP 14h
sitewhere-syncope ClusterIP 10.254.250.169 8080/TCP 14h
sitewhere-syncope-console ClusterIP 10.254.94.65 8080/TCP 14h
sitewhere-syncope-enduser ClusterIP 10.254.96.137 8080/TCP 14h
sitewhere-tenantsdb ClusterIP 10.254.86.211 5432/TCP 14h
sitewhere-tenantsdb-headless ClusterIP None 5432/TCP 14h
sitewhere-web-rest-grpc ClusterIP 10.254.246.24 9001/TCP,9090/TCP 14h
sitewhere-web-rest-http ClusterIP 10.254.38.201 8080/TCP 14h

[root@operations-server ~]# kubectl get svc -n istio-system
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
istio-citadel ClusterIP 10.254.17.132 8060/TCP,15014/TCP 16h
istio-galley ClusterIP 10.254.233.162 443/TCP,15014/TCP,9901/TCP 16h
istio-pilot ClusterIP 10.254.15.112 15010/TCP,15011/TCP,8080/TCP,15014/TCP 16h
istio-policy ClusterIP 10.254.149.0 9091/TCP,15004/TCP,15014/TCP 16h
istio-sidecar-injector ClusterIP 10.254.218.255 443/TCP,15014/TCP 16h
istio-telemetry ClusterIP 10.254.125.0 9091/TCP,15004/TCP,15014/TCP,42422/TCP 16h
jaeger-agent ClusterIP None 5775/UDP,6831/UDP,6832/UDP 16h
jaeger-collector ClusterIP 10.254.234.74 14267/TCP,14268/TCP,14250/TCP 16h
jaeger-query ClusterIP 10.254.163.154 16686/TCP 16h
kiali ClusterIP 10.254.143.90 20001/TCP 16h
tracing ClusterIP 10.254.230.123 80/TCP 16h
zipkin ClusterIP 10.254.192.80 9411/TCP 16h

@jorgevillaverde-sitewhere
Copy link
Contributor

Hi, sorry for the late response.
You need to access it from SiteWhere Admin UI.

NOTES:

  1. Get SiteWhere application URL by running these commands:
export ISTIO_INGRESS_IP=$(kubectl get svc --namespace istio-system istio-ingressgateway -o jsonpath='{.status.loadBalancer.ingress[0].ip}')

To login to SiteWhere Admin Console use:

  • Username: admin
  • Password: password
  • protocol: http
  • Server: $ISTIO_INGRESS_IP
  • Port: 80

@jorgevillaverde-sitewhere jorgevillaverde-sitewhere added the question Further information is requested label Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants