udacity / ud615 Goto Github PK
View Code? Open in Web Editor NEWCourse code for Scalable Microservices with Kubernetes
License: MIT License
Course code for Scalable Microservices with Kubernetes
License: MIT License
openssl x509 -enddate -noout -in kubernetes/tls/cert.pem
notAfter=Apr 26 04:09:08 2017 GMT
$./server
2016/04/15 06:34:12 Starting server...
2016/04/15 06:34:12 HTTP service listening on 0.0.0.0:5000
2016/04/15 06:34:12 Health service listening on 0.0.0.0:5001
2016/04/15 06:34:12 Started successfully.
Default ports for HTTP and Health services are 80 and 81 respectively.
When I use kubectl
version v1.17.2 to create the auth deployment:
kubectl create -f deployments/auth.yaml
Then I get the error:
error: unable to recognize "deployments/auth.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
This example is too old, it cant' work.
In Lesson 2 part 11 "Create an Image" I get the following error and am unable to proceed:
`cloudshell:~/go/src/github.com/udacity/ud615/app/monolith (udacity-230007)$ go get -u
import cycle not allowed
package github.com/udacity/ud615/app/monolith
imports flag
imports errors
imports runtime
imports internal/cpu
imports runtime`
Any idea how to proceed?
In the deploying Microservices section of the class under Rolling Updates. Kelsey does a rolling update by editing demployments/auth.yml
. In the video he changes the image to kelseyhightower/auth:2.0.0
.
Following along using this cloned app deployments/auth.yml
has udacity/example-auth:1.0.0
.
https://github.com/udacity/ud615/blob/master/kubernetes/deployments/auth.yaml#L15
However you do not have a tagged version udacity/example-auth:2.0.0
in your Docker Hub repo. This will cause the rolling update to fail.
https://hub.docker.com/r/udacity/example-auth/tags/
I need to use Kelsey's auth:2.0.0
image to complete the process.
Enjoyed the class. Thanks!
According to video MHC in file kubernetes/pods/healthy-monolith.yaml
at group spec/containers/readinessProbe
there should be a key periodSeconds
with value 10
.
It does not exist.
Either the video or the file must be amended.
The Kubernetes Probe API suggests that the video is correct and the file is missing the key.
The key should probably be inserted at line 34 to conform with order of group livenessProbe
above.
Dear Colleague,
We are looking to find ways to help developers find security misconfigurations, i.e., violation of security best practices in Kubernetes manifests. We have noticed an instance of no security context in one of your Kubernetes manifests. The recommended practice is use of security context for pods. Without defining a security context for the pod, a container may run with root privilege and write permission into the root file system, making the Kubernetes cluster vulnerable. For examples of Kubernetes security anti-patterns we are following our peer-reviewed publication on Kubernetes security best practices (https://arxiv.org/pdf/2006.15275.pdf).
Location:
Please use securityContext to fix this misconfiguration. We would like to hear if you agree to fix this misconfiguration or have fixed the misconfiguration.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.