Most viewed questions in DevOps & Agile

+1 vote
1 answer

Difference between git add -A and git add . command.

Hi@akhtar, The difference lies in which files get ...READ MORE

Dec 22, 2020 in Git & GitHub by MD
• 95,440 points
6,817 views
0 votes
2 answers

How do I update all my pods if the image is changed but the tag is the same?

since K8s 1.15 kubectl rollout restart do the ...READ MORE

Jul 24, 2020 in Kubernetes by Mathieu V
6,793 views
0 votes
1 answer

Different ways of scheduling a build in jenkins.

Here are the ways in which you ...READ MORE

Oct 11, 2019 in Jenkins by Sirajul
• 59,230 points
6,791 views
0 votes
1 answer

Access Error: 404 -- Not Found in jenkins.

Hi@akhtar, You may get this error if port ...READ MORE

Jun 16, 2020 in Jenkins by MD
• 95,440 points
6,781 views
0 votes
1 answer

Puppet: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: master-b]

Make new clean master b, and duplicate ...READ MORE

Aug 5, 2019 in Puppet by Sirajul
• 59,230 points
6,765 views
0 votes
2 answers

How to solve this error “Jenkins - j_acegi_security_check” ?

This is how I resolved this issue: # ...READ MORE

Aug 13, 2018 in Jenkins by lina
• 8,220 points
6,765 views
0 votes
1 answer

Puppet: Error when running "sudo /opt/puppetlabs/bin/puppetserver ca list --all" command

This might possibly be because of mismatch ...READ MORE

Sep 18, 2019 in Puppet by Sirajul
• 59,230 points
6,742 views
0 votes
2 answers

Create k8s namespace using ansible

You can also create a kubernetes namespace ...READ MORE

Jun 11, 2019 in Ansible by Nasser

edited Jun 11, 2019 6,736 views
+6 votes
4 answers

Error: Docker saying "bad file descriptor"

The solution was easy enough. Add these ...READ MORE

Mar 27, 2018 in Docker by DragonLord999
• 8,450 points
6,705 views
0 votes
2 answers

Different Jenkins $PATH

just add: source /etc/profile As the first step in ...READ MORE

Aug 13, 2018 in Jenkins by lina
• 8,220 points
6,690 views
0 votes
1 answer

Dashboard Pod status pending

It’s not able to schedule anything because ...READ MORE

Sep 25, 2018 in Kubernetes by Kalgi
• 52,360 points
6,670 views
0 votes
1 answer

error creating aufs mount to /var/lib/docker/aufs/mnt/6c1b42ce1a98b1c0f2da7f1-init: invalid argument

Hi@akhtar, To solve this error, you have to ...READ MORE

Apr 16, 2020 in Docker by MD
• 95,440 points
6,661 views
0 votes
1 answer

How does save and export command work in docker and how are they different from one another?

Export : Export is used to persist a ...READ MORE

Jul 2, 2019 in Docker by Sirajul
• 59,230 points

edited Jul 2, 2019 by Sirajul 6,655 views
0 votes
3 answers

Change the schedule of Kubernetes cron job

kubectl patch <backup-cronjob> -p '{"spec":{"schedule": "0 0 ...READ MORE

Jun 21, 2019 in Kubernetes by sudhams reddy duba
6,654 views
0 votes
1 answer

how to scale a statefulset in kubernetes?

Scaling StatefulSets : Use kubectl to scale StatefulSets First, ...READ MORE

Jul 23, 2019 in Kubernetes by Sirajul
• 59,230 points
6,638 views
+1 vote
1 answer

Ansible Playbook cannot locate the role

Use requirements.yml file and running it with: ansible-galaxy install -r ...READ MORE

Mar 13, 2019 in Ansible by krishti
6,589 views
0 votes
1 answer

Error saying ""msg": "Failed to import docker-py - No module named 'requests.packages.urllib3'. Try `pip install docker-py`""

Hey @Hari, In addition to docker-py install the following ...READ MORE

Feb 9, 2019 in Ansible by Monish
6,575 views
0 votes
1 answer

docker missing var/lib/docker folder

Try restarting docker systemctl restart docker or sudo service docker ...READ MORE

Aug 1, 2018 in Docker by Kalgi
• 52,360 points
6,571 views
0 votes
1 answer

How to use Ansible git module pull a branch with local changes?

You cannot achieve it using the git ...READ MORE

Jul 9, 2018 in Ansible by Atul
• 10,240 points
6,557 views
+1 vote
1 answer

Error: Maven runs with the wrong JDK on Jenkins

Perform the following steps: 1) Navigate to Manage ...READ MORE

Aug 8, 2018 in Jenkins by Sophie may
• 10,610 points
6,537 views
+1 vote
1 answer
0 votes
1 answer

error: permission denied in docker ?

Hi@akhtar, This is because of docker permission for ...READ MORE

Mar 23, 2020 in Docker by MD
• 95,440 points
6,517 views
0 votes
1 answer

Run multiple lineinfile commands with with_items

Here is the example playbook to ensure ...READ MORE

Jul 10, 2018 in Ansible by Kalgi
• 2,680 points
6,516 views
0 votes
1 answer

How do I execute a shell script and then use the result in ansible

This can work out for you: - name: ...READ MORE

Apr 11, 2018 in Ansible by shubham
• 7,340 points
6,511 views
0 votes
2 answers

How to create backup and copy files in jenkins?

You would require to copy and take ...READ MORE

Aug 1, 2019 in Jenkins by Sirajul
• 59,230 points
6,496 views
0 votes
1 answer

How to remove remote origin from Git repo?

Hi@akhtar, You can remove or add a new ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,440 points
6,495 views
0 votes
2 answers

Docker for windows: Eval command not found

I use the cmder console emulator. For the ...READ MORE

Aug 29, 2020 in Docker by Pistle
• 1,000 points

edited Aug 30, 2020 by Gitika 6,485 views
0 votes
1 answer

Jenkins cannot open directory Permission denied

Try whoami command to find out which ...READ MORE

Aug 8, 2018 in Jenkins by Kalgi
• 52,360 points
6,442 views
+1 vote
1 answer

How to change the default IP address of docker bridge adapter?

Hi@akhtar, You can reconfigure the default bridge network ...READ MORE

May 11, 2020 in Docker by MD
• 95,440 points
6,422 views
0 votes
1 answer

How to run Kubectl exec command to login inside a Pod?

Hi Guys, You can use the below-given command ...READ MORE

Jun 8, 2020 in Kubernetes by MD
• 95,440 points
6,413 views
0 votes
1 answer

Error saying "Error during WebSocket handshake: Unexpected response code: 400"

 you should use annotation with the name ...READ MORE

Oct 1, 2018 in Kubernetes by Kalgi
• 52,360 points
6,410 views
0 votes
1 answer

Docker - Cannot remove dead container

Try to unmount these blocked filesystems to ...READ MORE

Jul 26, 2018 in Docker by Kalgi
• 52,360 points
6,390 views
0 votes
1 answer

what does docker import command do?

docker import command Imports the contents from ...READ MORE

Jul 2, 2019 in Docker by Sirajul
• 59,230 points
6,370 views
0 votes
0 answers

How to install PHP composer inside a docker container

I'm trying to figure out how to ...READ MORE

Apr 12, 2022 in Docker by Abhijeet
• 180 points
6,360 views
0 votes
1 answer

Ansible error: ERROR! Variables must be specified as a dictionary, or a list of dictionaries

the correct syntax for the var file ...READ MORE

Jun 2, 2020 in Ansible by yehuda
6,355 views
0 votes
2 answers

Is possible for Jenkins to auto start and stop slave nodes?

Try Jenkins Plugin called as Slave SetupPlugin. This ...READ MORE

Aug 6, 2018 in Jenkins by Nilesh
• 7,050 points
6,333 views
0 votes
2 answers

How to copy files from host to Docker container?

You could also try to mount a ...READ MORE

Aug 9, 2019 in DevOps & Agile by Sirajul
• 59,230 points
6,332 views
0 votes
1 answer

What are the SCM tools supported by jenkins?

Hey @Jugnu, below are Source code management ...READ MORE

Feb 13, 2019 in Ansible by Imran
6,311 views
0 votes
1 answer

How to list down all the roles in Ansible?

Hi@akhtar, Ansible role is a part of ansible-galaxy. ...READ MORE

Aug 20, 2020 in Ansible by MD
• 95,440 points
6,304 views
0 votes
1 answer

Error saying "conflicting action statements: user, uri"

YAML files are very sensitive about the ...READ MORE

Jan 9, 2019 in Ansible by krishti
6,302 views
0 votes
1 answer

Error: Puppet agent lock file exist - skipping (/var/lib/puppet/state/agent_catalog_run.lock exists

This usually happens when you have already ...READ MORE

Sep 18, 2019 in Puppet by Sirajul
• 59,230 points
6,301 views
0 votes
1 answer

Error saying "E: This command can only be used by root." while installing docker

Try executing the following command: sudo su and ...READ MORE

Aug 6, 2019 in Docker by Ahmad
6,294 views
0 votes
2 answers

Ansible task to list all pods from any k8s namespace

Here is a more complete answer for ...READ MORE

Feb 6, 2020 in Ansible by scatat
6,287 views
0 votes
1 answer

Can any explain me what is exact difference between NCPA and NRPE in nagios monitoring tool??

NCPA is a cross-platform monitoring agent for ...READ MORE

Feb 11, 2020 in Nagios by anonymous
• 59,230 points
6,282 views
0 votes
1 answer

ansible playbook to start and stop a WebSphere application

The below playbook should be good enough: - ...READ MORE

Oct 30, 2019 in Ansible by Tanya
6,280 views
0 votes
1 answer

Error : unable to write symref for HEAD: Function not implemented

This is usually caused by a permission ...READ MORE

Oct 30, 2020 in Git & GitHub by Kim
6,274 views
0 votes
1 answer

Kubernetes nodes crashing due to DiskPressure

From the ll find that DiskPressure raises when: According to ...READ MORE

Oct 27, 2018 in Kubernetes by DareDev
• 6,890 points
6,247 views
0 votes
1 answer

How to remove a docker container using Ansible playbook?

Hi@akhtar, You can set the state=absent in your ...READ MORE

Sep 20, 2020 in Docker by MD
• 95,440 points
6,234 views
0 votes
3 answers

Retry pull image in a kubernetes pod

If the Pod is part of a ...READ MORE

Aug 29, 2018 in Kubernetes by Hannah
• 18,570 points
6,233 views