DevOps Work Tutorials
587 FOLLOWERS
DevOps interview question jenkins Ansible GIT AWS Terraform Docker Kubernets Python Shell script Tomcat Apache WebLogic Nginx Linux SSL Nagios Maven.
DevOps Work Tutorials
1y ago
Create an Amazon Elastic Kubernetes Service (EKS) cluster using Terraform, you can use the aws_eks_cluster resource and below is the an example of how you can create an EKS cluster with Terraform:
# Create the EKS cluster
resource "aws_eks_cluster" "example" {
name = "example"
role_arn = "${aws_iam_role.example.arn}"
vpc_config {
security_group_ids = [
"${aws_security_group.example.id}",
]
subnet_ids = [
"${aws_subnet ..read more
DevOps Work Tutorials
4y ago
Continuous Deployment extends Continuous Delivery by automating the deployment process, so that code that has passed automated testing is automatically deployed to production ..read more
DevOps Work Tutorials
4y ago
Continuous Delivery (CD) is a software development discipline where software is built so that it can be released to production at any time ..read more
DevOps Work Tutorials
4y ago
Continuous integration (CI) is a software development practice where members of a team integrate their work frequently, at least daily, leading to multiple integrations per day ..read more
DevOps Work Tutorials
4y ago
The ability for an operation or code to be run multiple times without any unintended or extraneous effects. For example, if on your configuration management platform, you have it set so your web servers will install Apache, Apache will only ever be installed once, regardless of how many times the configuration manager is run against a server in that group.
Most configuration management tools are idempotent, including Ansible, Chef, Puppet, and Salt ..read more
DevOps Work Tutorials
4y ago
RUN echo I am using the default (/bin/sh)RUN ["/bin/bash", "-c", "echo I am using bash"]SHELL ["/bin/bash", "-c"]RUN echo I am using bash, which is now the defaultRUN ["/bin/sh", "-c", "echo I am using /bin/sh"]RUN ["echo", "I don't use a shell at all ..read more
DevOps Work Tutorials
4y ago
inotify has three parameters, that can be set in /proc interfaces: `max_user_instances`, `max_user_watches` and `max_queued_events`.
max_user_watches
You can get the current “max_user_watches” value by executing the below command:
$ cat /proc/sys/fs/inotify/max_user_watches
You can set a new limit temporary with:
$ sudo sysctl fs.inotify.max_user_watches=524288
$ sudo sysctl -p
If you like to make your limit permanent, use:
$ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
$ sudo sysctl -p
max_queued_events
You can get the current “max_queued_events” value by execu ..read more
DevOps Work Tutorials
4y ago
/autogen.sh: line 9: aclocal: command not found
./autogen.sh: line 10: autoheader: command not found
./autogen.sh: line 11: automake: command not found
./autogen.sh: line 12: autoconf: command not found
Solution:
yum install libtool gcc-c++ automake autoconf ..read more
DevOps Work Tutorials
4y ago
pywatchman/bser.c:31:20: error: Python.h: No such file or directory
pywatchman/bser.c:68: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
pywatchman/bser.c:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bserobj_tuple_length’
pywatchman/bser.c:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
pywatchman/bser.c:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bserobj_sq’
pywatchman/bser.c:96: error: expected ‘)’ before ‘*’ token
pywatchman/bser.c:104: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ..read more