Go to file
q3k 09a0f06d2a cluster/kube/lib/nginx: use Local traffic policy
Diff against prod:

  - live services nginx-system.ingress-nginx
  + config services nginx-system.ingress-nginx
    {
      "apiVersion": "v1",
      "kind": "Service",
      "metadata": {
        "annotations": {},
        "labels": {
          "app.kubernetes.io/name": "ingress-nginx",
          "app.kubernetes.io/part-of": "ingress-nginx"
        },
        "name": "ingress-nginx",
        "namespace": "nginx-system"
      },
      "spec": {
  -     "externalTrafficPolicy": "Cluster",
  +     "externalTrafficPolicy": "Local",
        "ports": [
          {
            "name": "ssh",
            "port": 22,
            "protocol": "TCP",
            "targetPort": 22
          },
          {
            "name": "http",
            "port": 80,
            "protocol": "TCP",
            "targetPort": 80
          },
          {
            "name": "https",
            "port": 443,
            "protocol": "TCP",
            "targetPort": 443
          }
        ],
        "selector": {
          "app.kubernetes.io/name": "ingress-nginx",
          "app.kubernetes.io/part-of": "ingress-nginx"
        },
        "type": "LoadBalancer"
      }
    }

Change-Id: I0dd66e3f1643efa975d6180cc163a265d4b484ef
2019-06-29 22:44:53 +02:00
app app/gerrit/kube: implement 2019-06-21 20:47:53 +02:00
bzl *: bazelify 2019-01-13 17:51:34 +01:00
cluster cluster/kube/lib/nginx: use Local traffic policy 2019-06-29 22:44:53 +02:00
gcp secretstore: add implr 2019-05-18 00:15:25 +02:00
go go/svc/invoice: template changes for EU VAT invoices, restore FV/ numbering 2019-06-20 16:11:07 +02:00
kube make cockroachdb into a cluster service 2019-06-20 16:43:01 +02:00
nix nix/cluster-configuration: mention CNI plugin issue 2019-06-20 12:55:02 +02:00
proto go/svc/invoice: add shitty multilanguage support 2019-06-07 10:37:22 +02:00
tools Merge changes I4ef1f6ed,I20b0ecbb,Ida9dff72,I92e70536 2019-06-25 00:49:10 +00:00
.bazelrc app/gerrit/kube: implement 2019-06-21 20:47:53 +02:00
.gitignore *: bazelify 2019-01-13 17:51:34 +01:00
BUILD *: bazelify 2019-01-13 17:51:34 +01:00
COPYING isc license 2018-10-25 14:25:36 +02:00
README tools/: add nixops 2019-05-15 19:08:25 +02:00
WORKSPACE app/gerrit/kube: implement 2019-06-21 20:47:53 +02:00
env.sh *: k0.hswaw.net somewhat working 2019-01-13 21:14:02 +01:00
requirements.txt tools: add python future module 2019-01-18 00:22:50 +01:00

README

HSCloud
=======

This is a monorepo. You'll need bash and Bazel 0.20.0+ to use it.

You'll also need Nix installed globally in your system until [rules_nixpkgs/75](https://github.com/tweag/rules_nixpkgs/issues/75) is resolved. Or run on NixOS.

Getting started
---------------

    cd hscloud
    . env.sh # setup PATH and hscloud_root
    tools/install.sh # build tools


Then, to get Kubernets:

    echo "185.236.240.36 k0.hswaw.net" >> /etc/hosts # temporary hack until we get loadbalancers working
    bazel run //cluster/clustercfg:clustercfg admincreds $(whoami)-admin # get administrative creds (valid for 5 days)
    kubectl version

Clusters
========

The following kubernetes clusters are available:

k0.hswaw.net
------------

3 nodes (bc01n{01,02,03}.hswaw.net), mixed worker/master.

No persistent storage (yet).

Temporary development cluster. Will become base production cluster once configuration is done, but will *likely be fully cleared*.

Feel free to use for tests, but your pods might disappear at any time.