sporkmonger / nsq-k8s Goto Github PK
View Code? Open in Web Editor NEWNSQ setup for Kubernetes using Debian Jessie instead of Alpine to solve DNS issues.
NSQ setup for Kubernetes using Debian Jessie instead of Alpine to solve DNS issues.
Running this works for everything except the nsqd pods. "nsqd-0" doesn't ever start. Here's the describe for that pod:
Name: nsqd-0
Namespace: nsq
Node: /
Labels: app=nsq
component=nsqd
Status: Pending
IP:
Controllers: StatefulSet/nsqd
Containers:
nsqd:
Image: sporkmonger/nsq-k8s:0.3.8
Ports: 4150/TCP, 4151/TCP
Command:
/usr/local/bin/nsqd
-data-path
/data
-lookupd-tcp-address
nsqlookupd-0.nsqlookupd.default.svc.cluster.local:4160
-lookupd-tcp-address
nsqlookupd-1.nsqlookupd.default.svc.cluster.local:4160
-lookupd-tcp-address
nsqlookupd-2.nsqlookupd.default.svc.cluster.local:4160
Liveness: http-get http://:http/ping delay=5s timeout=1s period=10s #success=1 #failure=3
Readiness: http-get http://:http/ping delay=2s timeout=1s period=10s #success=1 #failure=3
Volume Mounts:
/data from datadir (rw)
Environment Variables: <none>
Conditions:
Type Status
PodScheduled False
Volumes:
datadir:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: datadir-nsqd-0
ReadOnly: false
QoS Class: BestEffort
Tolerations: <none>
Events:
FirstSeen LastSeen Count From SubObjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
40s 40s 2 {default-scheduler } Warning FailedScheduling SchedulerPredicates failed due to PersistentVolumeClaim is not bound: "datadir-nsqd-0", which is unexpected.
Currently gives an empty response on minikube. Not sure what's up.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.