Skip to content

Instantly share code, notes, and snippets.

@mikemilano
mikemilano / entrollment-log.es-index-template
Last active June 5, 2019 14:16
Elasticsearch index template example
By adding the following template to an Elasticsearch
instance, you will assure any index with a name
beginning with `enrollment-log` will inherit the
mappings defined within.
PUT _template/enrollment-log
{
"template": "enrollment-log*",
"settings": {
"number_of_shards": 4

Keybase proof

I hereby claim:

  • I am mikemilano on github.
  • I am mikemilano (https://keybase.io/mikemilano) on keybase.
  • I have a public key ASABz2i1e4NWC-1JfHHTn0X2IKP7lVuwfxscQLW9pFd2rgo

To claim this, I am signing this object:

@mikemilano
mikemilano / .lando.yml
Last active May 6, 2020 02:06
Lando config for Symfony
# Rename the `name` property and add this `.lando.yml` file to your project root.
#
# bin/console commands:
# lando console ...
#
# symfony commands:
# lando symfony ...
#
# Your .env file should include this:
# DATABASE_URL=mysql://root@database:3306/main
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: kiali-gateway
namespace: istio-system
spec:
selector:
istio: ingressgateway
servers: