I hereby claim:
- I am nmarukovich on github.
- I am mighty_hunter (https://keybase.io/mighty_hunter) on keybase.
- I have a public key ASAUnlltDUg2agoUHuYfsNSE1sSr6QOYTbkvmoZLr7jX-wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: external-service | |
| spec: | |
| ports: | |
| - port: 443 | |
| protocol: TCP | |
| targetPort: 443 | |
| type: ExternalName |
| apiVersion: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| name: externalservice | |
| annotations: | |
| kubernetes.io/ingress.class: "nginx" | |
| nginx.ingress.kubernetes.io/ssl-redirect: "true" | |
| kubernetes.io/tls-acme: "true" | |
| ingress.kubernetes.io/ssl-redirect: "true" | |
| certmanager.k8s.io/cluster-issuer: letsencrypt |
| curl -s 'localhost:9200/_cat/allocation?v' |
| curl -s -XGET 'localhost:9200/_cat/recovery?v' | grep -v done | awk '{ print $1, $2, $3, $5, $14, $18, $22 }' | column -t |
| curl -X GET "127.0.0.1:9200/_cluster/settings?pretty&include_defaults=true" |
| curl -X GET "127.0.0.1:9200/_cat/indices?v" |
| curl -XGET 127.0.0.1:9200/_cat/shards?h=index,shard,prirep,state,unassigned.reason| grep UNASSIGNED |
| curl -XPUT -H 'Content-Type: application/json' 'http://localhost:9200/_cluster/settings?pretty’ -d '{ "transient" : "cluster.routing.allocation.enable" : “all” } }' |
| curl -XPUT -H 'Content-Type: application/json' 'http://localhost:9200/_cluster/settings?pretty’ -d '{ "transient" : "cluster.routing.allocation.enable" : "none" } }' |