July 2019
Intermediate to advanced
502 pages
14h
English
Let's do this methodically, starting with the selector in the service:
$ kubectl get svc link-manager -o jsonpath="{.spec.selector.deployment}" green
OK – the selector is green. Let's get the links again and see if the [green] prefix shows up:
$ http "${DELINKCIOUS_URL}/v1.0/links" "Access-Token: ${DELINKCIOUS_TOKEN}"' HTTP/1.0 200 OK Content-Length: 221 Content-Type: application/json Date: Tue, 30 Apr 2019 06:19:43 GMT Server: Werkzeug/0.14.1 Python/3.7.2 { "err": "", "links": [ { "CreatedAt": "2019-04-30T06:01:47Z", "Description": "[green] nothing to see here...", "Status": "invalid", "Tags": null, "Title": "gg", "UpdatedAt": "2019-04-30T06:01:47Z", "Url": ...