Comments (2)
Hi @ssmtariq it looks like you are launching the framework directly from Helm, but the new microservices framework has to be launched using https://github.com/sitewhere/swctl/blob/master/README.md .. The operator injects the correct environment variables in order to allow the microservices to run.
from sitewhere.
Thank you very much. I got it. Now most of the services are running but still I got the pod sitewhere-keycloak-0 failed. When I described found the following. Could you please have a look
Name: sitewhere-keycloak-0
Namespace: sitewhere-system
Priority: 0
Node: node-3/10.10.1.4
Start Time: Thu, 02 Jun 2022 10:28:25 -0600
Labels: app.kubernetes.io/instance=sitewhere
app.kubernetes.io/name=keycloak
controller-revision-hash=sitewhere-keycloak-7c8b8fbd54
statefulset.kubernetes.io/pod-name=sitewhere-keycloak-0
Annotations: checksum/config-startup: e055e8e9a2ac44f8b75847f7e552c702e6c03e6af2bdf1f59a284cb0ef2d73f7
checksum/secrets: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
cni.projectcalico.org/podIP: 192.168.45.6/32
cni.projectcalico.org/podIPs: 192.168.45.6/32
Status: Pending
IP: 192.168.45.6
IPs:
IP: 192.168.45.6
Controlled By: StatefulSet/sitewhere-keycloak
Init Containers:
pgchecker:
Container ID: docker://f7ecc4e495ed308236323f5f0bb0ac32903a463a101ae237f6a7b19494cacb47
Image: docker.io/busybox:1.32
Image ID: docker-pullable://busybox@sha256:ae39a6f5c07297d7ab64dbd4f82c77c874cc6a94cea29fdec309d0992574b4f7
Port: <none>
Host Port: <none>
Command:
sh
-c
echo 'Waiting for PostgreSQL to become ready...'
until printf "." && nc -z -w 2 sitewhere-postgresql 5432; do
sleep 2;
done;
echo 'PostgreSQL OK ✓'
State: Running
Started: Thu, 02 Jun 2022 10:28:46 -0600
Ready: False
Restart Count: 0
Limits:
cpu: 50m
memory: 64Mi
Requests:
cpu: 50m
memory: 64Mi
Environment: <none>
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from sitewhere-keycloak-token-bc7lw (ro)
Containers:
keycloak:
Container ID:
Image: docker.io/jboss/keycloak:12.0.4
Image ID:
Ports: 8080/TCP, 8443/TCP, 9990/TCP
Host Ports: 0/TCP, 0/TCP, 0/TCP
State: Waiting
Reason: PodInitializing
Ready: False
Restart Count: 0
Liveness: http-get http://:http/auth/ delay=300s timeout=5s period=10s #success=1 #failure=3
Readiness: http-get http://:http/auth/realms/master delay=30s timeout=1s period=10s #success=1 #failure=3
Environment:
DB_VENDOR: postgres
DB_ADDR: sitewhere-postgresql
DB_PORT: 5432
DB_DATABASE: keycloak
DB_USER: keycloak
DB_PASSWORD: <set to the key 'postgresql-password' in secret 'sitewhere-postgresql'> Optional: false
KEYCLOAK_USER: sitewhere
KEYCLOAK_PASSWORD: sitewhere
Mounts:
/opt/jboss/startup-scripts/keycloak.cli from startup (ro,path="keycloak.cli")
/var/run/secrets/kubernetes.io/serviceaccount from sitewhere-keycloak-token-bc7lw (ro)
Conditions:
Type Status
Initialized False
Ready False
ContainersReady False
PodScheduled True
Volumes:
startup:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: sitewhere-keycloak-startup
Optional: false
sitewhere-keycloak-token-bc7lw:
Type: Secret (a volume populated by a Secret)
SecretName: sitewhere-keycloak-token-bc7lw
Optional: false
QoS Class: Burstable
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events: <none>
from sitewhere.
Related Issues (20)
- future isn't success, cause: (org.apache.zookeeper.ClientCnxnSocketNetty) [nioEventLoopGroup-2-1] java.nio.channels.ClosedChannelException
- WARN fsync-ing the write ahead log in SyncThread:2 took 3932ms which will adversely effect operation latency. File size is 67108880 bytes
- What is the purpose of spring native support v3.1.0 HOT 1
- How to deploy a highly reliable production environment instead of swctl deploying all services in a cluster HOT 2
- License, documentation, and developer resource concerns HOT 5
- stat /bin/grpc_health_probe: no such file or directory": unknown
- I want Sitewhere to support other relational databases besides the default database postgres95. Can you give me some suggestions? HOT 7
- javax.enterprise.inject.spi.DeploymentException: No config value of type HOT 1
- 3.1.0 will probably be released more
- Why doesn't the device have a name HOT 2
- swctl:v0.9.2 Debug mode cannot be turned on
- V3.0 can't add tenant HOT 1
- How to optimize Kafka messages with serious accumulation?
- helm install failed
- How can I quickly add two microservices
- swctl create instance sitewhere failed
- Excellent open-source gentleman, noticed that the sitewhere project has not been updated for more than a year HOT 2
- Is there any simplified installation guide?
- Job cannot call the event management service
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 sitewhere.