Trending questions in DevOps & Agile

0 votes
1 answer

How to replace a line using lineinfile module in Ansible?

Hi@MD, You can use lineinfile module in Ansible. ...READ MORE

Sep 2, 2020 in Ansible by akhtar
• 38,260 points
2,879 views
0 votes
1 answer

Cannot access the MetalLB LoadBalancer IP from outside my kubernetes cluster.

Check the firewall config and What port ...READ MORE

Sep 17, 2020 in Kubernetes by Garama

edited Oct 6, 2021 by Sarfaraz 2,229 views
0 votes
1 answer

How to create docker file and docker image?

You will have to create a dockerfile ...READ MORE

Oct 24, 2020 in Docker by Sam
653 views
0 votes
1 answer

error: the server doesn't have a resource type "svc"

Hi@akhtar, You need to update your cluster details ...READ MORE

Jul 9, 2020 in Kubernetes by MD
• 95,460 points
5,226 views
0 votes
1 answer

How to schedule jobs in Jenkins?

Hi@akhtar, If you want to schedule your Jenkins ...READ MORE

Oct 22, 2020 in Jenkins by MD
• 95,460 points
686 views
0 votes
1 answer

ERROR! the role '/root/web' was not found in /root/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/root

Hi@akhtar, You are trying to use ansible role in your ...READ MORE

Aug 20, 2020 in Ansible by MD
• 95,460 points
3,406 views
0 votes
1 answer

How to find Docker logs on Linux?

Hi@akhtar, By default, the docker logs command shows the logs of ...READ MORE

Oct 20, 2020 in Docker by MD
• 95,460 points
783 views
0 votes
1 answer

How to set dynamic host inventory file for docker in Ansible?

Hi@akhtar, In a configuration especially a container setup such ...READ MORE

Sep 20, 2020 in Ansible by MD
• 95,460 points
2,045 views
0 votes
1 answer

ERROR: anonymous is missing the Overall/Read permission

Hi@akhtar, You need to tell your username password. ...READ MORE

Jul 7, 2020 in Jenkins by MD
• 95,460 points
5,283 views
0 votes
1 answer

How to view git logs of one user's commits?

Hi@akhtar, You can use the git log command ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,460 points
2,697 views
0 votes
1 answer
0 votes
1 answer

How to check Docker container application logs?

Try this: docker container logs <container-id> READ MORE

Oct 12, 2020 in Docker by Vishwanath
1,041 views
0 votes
1 answer

Error: Redis connection refused !

Check if the firewall policy is open ...READ MORE

Oct 5, 2020 in Other DevOps Questions by Satish
1,303 views
0 votes
1 answer

Running task from Different roles in parallel

Hi@Shambhavi, You can use tags in your task. ...READ MORE

Oct 7, 2020 in Ansible by MD
• 95,460 points
1,236 views
0 votes
1 answer

How to increase the size of images while creating docker file?

Docker image optimization usually is intended to ...READ MORE

Oct 19, 2020 in Docker by anonymous
689 views
0 votes
2 answers

How to open docker containers file system?

Adding on to @DareDev's answer there's one ...READ MORE

Aug 5, 2019 in Docker by Sirajul
• 59,230 points
20,525 views
0 votes
1 answer

error: Could not read error: unable to read tree object HEAD nothing to commit (working directory clean)

Hi@akhtar,  This kind of error may occur if ...READ MORE

Apr 10, 2020 in Git & GitHub by MD
• 95,460 points
8,956 views
+2 votes
6 answers

copy directories in docker container excluding any one directory

One of the way could be copy ...READ MORE

Dec 10, 2018 in Docker by Prateek
35,109 views
+2 votes
4 answers

Kubernetes cluster pod status EVICTED

I learned this the hard way, but ...READ MORE

Jan 22, 2019 in Kubernetes by Lyndon
27,913 views
0 votes
1 answer

What's difference between git rebase and git commit?

The git commit command captures a snapshot of the ...READ MORE

Oct 6, 2020 in Git & GitHub by Lyana
1,204 views
0 votes
1 answer

How to connect local kubernetes minikube cluster to jenkins pipeline...?

Hi@Moonty, To connect your Minikube, you have to ...READ MORE

Aug 26, 2020 in Kubernetes by MD
• 95,460 points
2,969 views
0 votes
2 answers

Error saying " "hosts" E212: Can"t open file for writing" when trying to change host name on the VM

I am interested in the answer as ...READ MORE

Jan 26, 2019 in Docker by anonymous
28,751 views
0 votes
1 answer

How devops people communicate with QA team?

Many DevOps specialists swear by Slack as ...READ MORE

Oct 20, 2020 in Other DevOps Questions by Vish
536 views
0 votes
1 answer

How to take user input in Ansible?

Hi@akhtar, To ask for user input, we will ...READ MORE

Aug 10, 2020 in Ansible by MD
• 95,460 points
3,600 views
0 votes
1 answer

How to add an empty directory to a Git repository?

Hi@akhtar, A popular solution is to simply add ...READ MORE

Oct 5, 2020 in Git & GitHub by MD
• 95,460 points
1,154 views
0 votes
1 answer

FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation for Ansible-2.3 may contain hints for porting"}

Hi@akhtar, You are using the docker module. This ...READ MORE

Sep 20, 2020 in Ansible by MD
• 95,460 points
1,771 views
0 votes
1 answer

Jenkins instance when opened using public address of AWS is giving permission denied

Hi@Kavita, You need to create a rule in ...READ MORE

Oct 7, 2020 in DevOps & Agile by MD
• 95,460 points
1,027 views
0 votes
1 answer

Jenkins : Problem with the script. Can anyone help?

Refer to user input... In Jenkins pipeline ...READ MORE

Sep 30, 2020 in Jenkins by Adil Abdullah Khan
1,267 views
0 votes
1 answer

How should we install Jenkins in a production environment on tomcat or as a service on Linux?

First;y install java after that download the ...READ MORE

Oct 8, 2020 in Other DevOps Questions by Soundarya Lanka
913 views
0 votes
1 answer

{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}

Hi@akhtar, In your command, you have to mention ...READ MORE

Jun 16, 2020 in DevOps Tools by MD
• 95,460 points
5,795 views
0 votes
1 answer

Set volume mount user group and file permissions in kubernetes

There's a setting in Pod Security Context ...READ MORE

Jan 16, 2019 in Kubernetes by ajs3033
• 7,300 points
28,046 views
0 votes
1 answer

ERROR! - None of the provided paths was usable. Please specify a valid path with --roles-path

Hi@akhtar, You are trying to list down ansible roles ...READ MORE

Aug 20, 2020 in Ansible by MD
• 95,460 points
2,896 views
0 votes
1 answer

How many docker services we can run in the single server?

You can run any number but depends ...READ MORE

Oct 8, 2020 in Docker by Kim
776 views
0 votes
1 answer

How do we deploy a war ( from git to tomcat in ubuntu image ) using docker files?

Hi, If you want to clone your repo ...READ MORE

Sep 17, 2020 in Docker by MD
• 95,460 points
1,690 views
0 votes
1 answer

What are artifacts?

Artifacts are the final file that we ...READ MORE

Oct 8, 2020 in DevOps Tools by Rishi
767 views
+4 votes
4 answers

perform Git checkout using Groovy script

To do git commit: def getGitCommit() { ...READ MORE

Dec 6, 2018 in DevOps Tools by Vaidya
34,213 views
0 votes
1 answer

How to create a cloudfront distribution using Ansible?

Hi@akhtar, You can find one module named cloudfront_distribution ...READ MORE

Sep 30, 2020 in Ansible by MD
• 95,460 points
1,030 views
0 votes
1 answer

How to copy file inside a Pod in Kubernetes?

Hi@akhtar, You need to use the kubectl cp command ...READ MORE

Jul 5, 2020 in Kubernetes by MD
• 95,460 points
4,784 views
+2 votes
1 answer

How to plot graph inside docker container?

Hi@akhtar, To plot a graph we generally use ...READ MORE

May 19, 2020 in Docker by MD
• 95,460 points
6,728 views
0 votes
1 answer

How to create a group using Ansible Playbook?

Hi@akhtar, You can find one module named group ...READ MORE

Sep 1, 2020 in Ansible by MD
• 95,460 points
2,273 views
0 votes
2 answers

What is the command to restart jenkins through command line in linux?

On Ubuntu or Debian, when installed through apt-get/dpkg: $ ...READ MORE

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

Getting 500 error code while Bitbucket-Jenkins integration.

Use generic webhook instead of bitbucket webhook. It ...READ MORE

Sep 21, 2020 in DevOps Tools by Krishnom
1,386 views
0 votes
1 answer

How to create a ConfigMap from literals?

Hi@akhtar, You can use kubectl create configmap with the --from-literal argument to ...READ MORE

Aug 31, 2020 in Kubernetes by MD
• 95,460 points
2,292 views
0 votes
1 answer

What is pod affinity and node affinity?

Node Affinity ensures that pods are hosted ...READ MORE

Jul 17, 2019 in Kubernetes by Sirajul
• 59,230 points
20,038 views
0 votes
1 answer

How to automate the rollback of deployment when it fails using helm and without timeout?

As it turns out, there is an ...READ MORE

Sep 18, 2020 in Kubernetes by Kim
1,498 views
0 votes
3 answers

kubectl get ing gives no address in kubernetes ingress

 I had the same problem and I ...READ MORE

Apr 24, 2019 in Kubernetes by Chris
28,518 views