- Create a s3 repo to contain the cluster state.
- Create a Route53 domain and hosted zone.
kops create cluster --name=demo.simplepipeline.xyz\
--node-size=t2.micro\
--state=s3://k8s-demo-simplepipeline.xyz\
--zones=eu-west-1a\| window.db = db || {}; | |
| db.movies = [ | |
| {Title: "Pulp Fiction", Year: "1994", Rated: "R", Released: "14 Oct 1994", Runtime: "2 h 48 min", Genre: "Crime, Thriller", Director: "Quentin Tarantino", Writer: "Quentin Tarantino, Roger Avary", Actors: "John Travolta, Uma Thurman, Samuel L. Jackson, Bruce Willis", Plot: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", Poster: "http://ia.media-imdb.com/images/M/MV5BMjE0ODk2NjczOV5BMl5BanBnXkFtZTYwNDQ0NDg4._V1_SX300.jpg", imdbRating: "9.0", imdbVotes: "727,482", imdbID: "tt0110912", Type: "movie", Response: "True"}, | |
| {Title: "Reservoir Dogs", Year: "1992", Rated: "TV-MA", Released: "23 Oct 1992", Runtime: "1 h 39 min", Genre: "Crime, Thriller", Director: "Quentin Tarantino", Writer: "Quentin Tarantino, Roger Avary", Actors: "Harvey Keitel, Tim Roth, Michael Madsen, Chris Penn", Plot: "After a simple jewelery heist goes terribly wrong, the surviving criminals begin to suspect th |
| <svg xmlns:cc="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" width="400" height="400" viewbox="0 0 400 400"> | |
| <metadata> | |
| <rdf:rdf> | |
| <dc:format> | |
| image/svg+xml | |
| </dc:format> | |
| <dc:title> | |
| Life expectancy 2007 | |
| </dc:title> | |
| <dc:creator> |
| /** | |
| * Circular Tooltip (SO) | |
| * http://stackoverflow.com/q/13132864/1397351 | |
| */ | |
| * { margin: 0; padding: 0; } | |
| body { | |
| overflow: hidden; | |
| background: url(http://theearlcarlson.com/experiments/amTooltip/img/bg.jpg); | |
| } | |
| /* generic styles for button & circular menu */ |
| /** | |
| * Circular Tooltip (SO) | |
| * http://stackoverflow.com/q/13132864/1397351 | |
| */ | |
| * { margin: 0; padding: 0; } | |
| body { | |
| overflow: hidden; | |
| background: url(http://theearlcarlson.com/experiments/amTooltip/img/bg.jpg); | |
| } | |
| /* generic styles for button & circular menu */ |
| # build stage | |
| FROM golang:alpine AS build-env | |
| ADD . /src | |
| RUN cd /src && go build -o goapp | |
| # final stage | |
| FROM alpine | |
| WORKDIR /app | |
| COPY --from=build-env /src/goapp /app/ | |
| ENTRYPOINT ./goapp |
Read about the basics concepts on the Kubernetes docs.