Skip to content

Instantly share code, notes, and snippets.

View scostello's full-sized avatar
:octocat:

Sean Costello scostello

:octocat:
View GitHub Profile

Keybase proof

I hereby claim:

  • I am scostello on github.
  • I am scostello (https://keybase.io/scostello) on keybase.
  • I have a public key ASBge9DsTJrVkRecaRdx6IPN5NaQWZbhrPLNCO-otv4ykwo

To claim this, I am signing this object:

@scostello
scostello / my-api.deployment.yaml
Last active May 27, 2019 15:16
Kubernetes API Deployment hostPath
# Source: my-api/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: local-release-my-api
labels:
app.kubernetes.io/name: my-api
helm.sh/chart: my-api-0.1.0
app.kubernetes.io/instance: local-release
app.kubernetes.io/managed-by: Tiller
@scostello
scostello / generated-my-api.yaml
Last active May 27, 2019 15:16
Helm generate Kubernetes manifests
---
# Source: my-api/templates/configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: local-release-my-api-env
data:
# API
API_HOST: "0.0.0.0"
API_PORT: "4000"
@scostello
scostello / minikube-structure.md
Created May 27, 2019 13:52
minikube directory structure
├── .babelrc
├── Dockerfile
├── package.json
└── k8s
    ├── .helmignore
    ├── Chart.yaml
    ├── templates
    │   ├── NOTES.txt
 │   ├── _helpers.tpl
@scostello
scostello / docker-compose-structure.md
Last active May 27, 2019 13:47
docker-compose directory structure
├── .babelrc
├── .dockerignore
├── docker-compose.yml
├── Dockerfile
├── package.json
└── src
    └── index.js
@scostello
scostello / .babelrc
Last active August 11, 2023 14:06
Watching for changes with docker-compose
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],