1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00

Updated docs

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2015-10-02 15:39:12 -07:00
parent 9f663fd9c4
commit db77a731be
3 changed files with 0 additions and 64 deletions

View File

@ -1,17 +0,0 @@
.PHONY: build push deploy
NAME := echo
TAG := $(shell date +'%Y.%m.%dT%H.%M')
build:
rm -rf public
hugo
gox -osarch=linux/amd64 -output server
docker build -t gcr.io/$(PROJECT_ID)/$(NAME):$(TAG) .
push: build
gcloud docker push gcr.io/fluent-anagram-95603/$(NAME):$(TAG)
deploy: push
# https://github.com/kubernetes/kubernetes/blob/release-1.0/docs/user-guide/kubectl/kubectl_rolling-update.md
kubectl rolling-update $(NAME) --image=gcr.io/($PROJECT_ID)/$(NAME):$(TAG)

View File

@ -1,29 +0,0 @@
{
"apiVersion": "v1",
"kind": "ReplicationController",
"metadata": {
"name": "echo"
},
"spec": {
"replicas": 2,
"selector": {
"name": "echo"
},
"template": {
"metadata": {
"labels": {
"name": "echo"
}
},
"spec": {
"containers": [{
"image": "gcr.io/fluent-anagram-95603/echo",
"name": "echo",
"ports": [{
"containerPort": 5091
}]
}]
}
}
}
}

View File

@ -1,18 +0,0 @@
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": "echo",
"labels": {
"name": "echo"
}
},
"spec": {
"ports": [{
"port": 5091
}],
"selector": {
"name": "echo"
}
}
}