helm create first-chart- Change into the
first-chartdirectory and look around - Delete the
templatesdirectory
- (re)Make a
templatesdirectory and change into the directory - Create a
configmap.yamlfile
From John Turner's Blog Post: https://engineering.squarespace.com/blog/2019/code-review-culture-part-1
When submitting a PR, answer the following questions:
**What does this PR do?**
**Why do we want to do that?**
**What high level changes did you make to the code to accomplish that goal?**
**What other information should the reviewer be aware of when looking at this code?**I hereby claim:
To claim this, I am signing this object:
install_polaris: &install_polaris
run:
name: Install Polaris
command: |
curl -L "https://github.com/FairwindsOps/polaris/releases/download/0.4.0/polaris_0.4.0_Linux_x86_64.tar.gz" > polaris.tar.gz
tar -xvf polaris.tar.gz
chmod +x polaris
mv ./polaris /usr/local/bin```
| // 1. Write a for loop that will log each element in the following array | |
| let instructors = ['CJ', 'Casey', 'Kim', 'Kyle']; | |
| // 2. Write a for loop that will log each element in the following array | |
| let numbers = [4, 8, 15, 16, 23, 42]; | |
| // 3. Write a for loop that will log each element in the following array |
| const isLeap = (year) => { | |
| class Year { | |
| constructor() { | |
| this.year = year | |
| } | |
| } | |
| let now = new Year(); | |
| return now.year | |
| }; |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: dvlp-app | |
| labels: | |
| app: dvlp-app | |
| spec: | |
| type: LoadBalancer | |
| ports: | |
| - name: http |
| FROM node:carbon | |
| WORKDIR /usr/src/app | |
| COPY package*.json ./ | |
| RUN npm install | |
| COPY . . | |
| EXPOSE 8080 | |
| CMD ["npm", "start"] |
| apiVersion: autoscaling/v1 | |
| kind: HorizontalPodAutoscaler | |
| metadata: | |
| name: dvlp-app | |
| spec: | |
| minReplicas: 1 | |
| maxReplicas: 30 | |
| scaleTargetRef: | |
| apiVersion: extensions/v1beta1 | |
| kind: Deployment |