What I learned today Nov 2nd 2018

From Federal Burro of Information
Revision as of 01:52, 3 November 2018 by David (talk | contribs) (Created page with " * You cannot send AWS firehose to an AWS Elasti search domain that's "in" a VPC. * You can present an arbitrary service n a kubernets cluster with a service that uses "htt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
  • You cannot send AWS firehose to an AWS Elasti search domain that's "in" a VPC.
  • You can present an arbitrary service n a kubernets cluster with a service that uses "[ExternalName]"
  • You cannot use a service's Port specifications to fiddle around with ports.
  • AWS Elastic search service listens on 80 and 443, not 9200.
  • You can put a whole text file into a container by making it a value to a configmap key, like this:

First make the config map:

kubectl create configmap fluentd-configmap --from-file=fluent-conf

Then in the deployment|deamonset you make a volume and a mapping:

Under the container's mounts:

        - name: config-vol
          mountPath: /etc/fluent

Under the deamonset / deployments volumes:

      - name: config-vol
        configMap:
          name: fluentd-configmap
          items:
            - key: fluent-conf
              path: fluent.conf