We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Looks like this is not working with Kubernetes 1.9 because it cannot find the endpoints:
# kubectl logs -n kube-system -f nitrox-fqd5b /usr/local/lib/python2.7/site-packages/requests-2.8.1-py2.7.egg/requests/packages/urllib3/connectionpool.py:789: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html InsecureRequestWarning) 2018-03-21 22:20:37,466 - ERROR - [kubernetes.py:_get ] (MainThread) Got HTTP 404: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"services \"webserver\" not found","reason":"NotFound","details":{"name":"webserver","kind":"services"},"code":404} 2018-03-21 22:20:37,467 - INFO - [main.py:kubernetes] (MainThread) Endpoints for app webserver: [] /usr/local/lib/python2.7/site-packages/requests-2.8.1-py2.7.egg/requests/packages/urllib3/connectionpool.py:789: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html InsecureRequestWarning) /usr/local/lib/python2.7/site-packages/requests-2.8.1-py2.7.egg/requests/packages/urllib3/connectionpool.py:789: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html InsecureRequestWarning)
Here’s the service definition:
apiVersion: v1 kind: Service metadata: name: webserver labels: app: webserver com.citrix.lb.appname: webserver spec: selector: app: webserver type: NodePort ports: - name: webserver-http port: 80 protocol: TCP
and the Nitrox replication controller:
apiVersion: v1 kind: ReplicationController metadata: name: nitrox labels: svc: nitrox spec: replicas: 1 template: metadata: labels: svc: nitrox spec: serviceAccountName: nitrox imagePullSecrets: - name: dcr containers: - args: - --insecure-skip-tls-verify=true - --kube-apiserver=https://$(KUBERNETES_SERVICE_HOST)/api - --kube-token-file=/run/secrets/kubernetes.io/serviceaccount/token # - --kube-certificate-authority=/run/secrets/kubernetes.io/serviceaccount/ca.crt name: nitrox image: chiradeeptest/nitrox resources: requests: cpu: 100m memory: 100Mi env: - name: TZ value: Europe/Berlin - name: GET_HOSTS_FROM value: env - name: NS_IP value: netscaler.comapny.com - name: NS_USER value: kubernetes - name: NS_PASSWORD value: test1234 - name: APP_INFO value: '{"apps": [{"name": "webserver"}]}'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Looks like this is not working with Kubernetes 1.9 because it cannot find the endpoints:
Here’s the service definition:
and the Nitrox replication controller:
The text was updated successfully, but these errors were encountered: