- Jenkins Server up and running.
- Docker and git installed inside Jenkins Server.
- Docker Hub account.
- AWS Account.
- GitHub Account.
- EKS Cluster running
- Basic Understanding of Jenkins, Docker and Kubernetes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "autoscaling": { | |
| "CreateAutoScalingGroup": "autoscaling:CreateAutoScalingGroup", | |
| "CreateLaunchConfiguration": "autoscaling:CreateLaunchConfiguration", | |
| "CreateOrUpdateScalingTrigger": "autoscaling:CreateOrUpdateScalingTrigger", | |
| "CreateOrUpdateTags": "autoscaling:CreateOrUpdateTags", | |
| "DeleteAutoScalingGroup": "autoscaling:DeleteAutoScalingGroup", | |
| "DeleteLaunchConfiguration": "autoscaling:DeleteLaunchConfiguration", | |
| "DeleteNotificationConfiguration": "autoscaling:DeleteNotificationConfiguration", | |
| "DeletePolicy": "autoscaling:DeletePolicy", |
Folks, Leave me a comment / URL if something you like is missing!
| Resource | Description |
|---|---|
| Kube Academy | https://kube.academy/ |
| kuernetes-101 | https://kube.academy/courses/kubernetes-101/ |
| Docs Home | https://kubernetes.io/docs/home/ |
| CKS CKA CKAD Simulator | https://killer.sh/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $('#container').highcharts({ | |
| chart: { | |
| alignTicks: true, // When using multiple axis, the ticks of two or more opposite axes will automatically be aligned by adding ticks to the axis or axes with the least ticks. | |
| animation: true, // Set the overall animation for all chart updating. Animation can be disabled throughout the chart by setting it to false here. | |
| backgroundColor: '#FFF', // The background color or gradient for the outer chart area. | |
| borderColor: '#4572A7', // The color of the outer chart border. | |
| borderRadius: 5, // The corner radius of the outer chart border. In export, the radius defaults to 0. Defaults to 5. | |
| borderWidth: 0, // The pixel width of the outer chart border. | |
| className: null, // A CSS class name to apply to the charts container div, allowing unique CSS styling for each chart. | |
| defaultSeriesType: 'line', // Alias of type. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| COMMAND | FUNCTIONALITY | |
|---|---|---|
| grep -v ‘^$’ filename > new_filename | Remove Blank Lines in a file | |
| ls -l | grep '^-' | awk '/^-/ {if ($5 !=0 ) print $9 }' | Display zero byte size files | |
| sed 's/honey/pasta/n' < filename | Replace the nth occurrence of the word 'honey' with 'pasta' in a file | |
| echo 'string' | tr [a-z] [A-Z] | command to convert a string from lower case to upper case | |
| grep -i 'search string' filename | Search for a given string in a file (case in-sensitive search) | |
| cal 03 2022 | Display the calendar for the month march in the year 2022 | |
| find -atime n -type f | List the files that are accessed n days ago in the current directory | |
| find -mtime n -type f | List the files that were modified n days ago in the current directory | |
| find -ctime n -type f | List the files that were changed n days ago in the current directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| COMMAND | FUNCTIONALITY | |
|---|---|---|
| ls | Lists all files and directories in the present working directory | |
| ls -R | Lists files in sub-directories as well | |
| ls -a | Lists hidden files as well | |
| ls -al | Lists files and directories with detailed information. | |
| ls 'path' | more | Show listing one screen at a time | |
| cd or cd ~ | Navigate to HOME directory | |
| cd .. | Move one level up | |
| cd | To change to a particular directory | |
| cd / | Move to the root directory |
After setting up docker to generate React app without installing node js in https://gist.github.com/przbadu/4a62a5fc5f117cda1ed5dc5409bd4ac1 It was confusing to some of the devs, how to run react app, so I am creating this as second step to the configuration.
cd my-react-app
touch Dockerfile Dockerfile.dev docker-compose.yml .dockerignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ########## Install NGINX ############## | |
| # Install software-properties-common package to give us add-apt-repository package | |
| sudo apt-get install -y software-properties-common | |
| # Install latest nginx version from community maintained ppa | |
| sudo add-apt-repository ppa:nginx/stable | |
| # Update packages after adding ppa |
NewerOlder
