Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dave/lets
letsencrypt demo
https://github.com/dave/lets
Last synced: about 1 month ago
JSON representation
letsencrypt demo
- Host: GitHub
- URL: https://github.com/dave/lets
- Owner: dave
- Created: 2016-09-21T08:36:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-14T09:14:00.000Z (almost 8 years ago)
- Last Synced: 2024-10-13T14:35:37.761Z (3 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# letsencrypt demo
### Build
```
go get -u github.com/dave/lets
cd /home/dave/gopath/src/github.com/dave/lets
docker build -t gcr.io/lets-144108/lets-image .
gcloud docker push gcr.io/lets-144108/lets-image
```### Deploy
```
gcloud config set compute/zone us-central1-b
gcloud container clusters create lets-cluster --num-nodes=1
kubectl run lets --image=gcr.io/lets-144108/lets-image:1.0 --port=443
kubectl expose deployment lets --type="LoadBalancer"
kubectl get service lets
```### Delete
```
kubectl delete service lets
kubectl delete deployment lets
```### Clean up
```
gcloud container clusters delete lets-cluster
```