Questions tagged [yaml]

YaML is a human-readable data serialisation format.

YAML is a data serialisation format designed to be written and read by humans. Modern YAML is a superset of JSON, meaning that YAML parsers can consume any valid JSON as well as the richer and more human-friendly long form.

For more information refer to the YAML Wikipedia page or the YAML homepage.

92 questions
0
votes
1 answer

How to create a "DOckerfile" to containerize a "Flutter" app to deploy it on a Kubernetes cluster?

I am just wondering to know how should I create a docker file for a Flutter app then deploy it on a Kubernetes cluster? I found the following Dockerfile and server.sh script from this website but I am not sure if this a correct way of doing it? #…
best_of_man
  • 367
  • 1
  • 3
  • 12
0
votes
0 answers

Envoy proxy random load balancing option is not random

We are using the below Envoy load balancing YAML file. It is working but it is NOT randomly distributing requests across nodes 1, 2, and 3. In our use case, we have high load coming from a single source IP address (customer server). We want to…
A X
  • 469
  • 4
  • 10
  • 31
0
votes
0 answers

How to convert terrraform to kubernetes helm chart?

Our current project is created using terraform templates. Both the infrastructure and the application deployment is on terraform yaml files. Is there anyway to convert the application part to helm charts? Please provide your suggestions.
user2331760
  • 155
  • 4
  • 12
0
votes
1 answer

Ansible "hip-profiles unexpected here" Palo alto panos_security_rule

I'm trying to set a security policy on my Palo Alto firewalls using Ansible with the panos_security_rule module. However, I keep running in to the same error, hip-profiles unexpected here. I found multiple reports on the problem, even a GitHub issue…
Collega
  • 65
  • 6
0
votes
1 answer

Automate Kubernetes Deployment using ArgoCD

We have a GitHub repo containing all the Kubernetes cluster yaml files, When we want to update a deployment we simply edit the yaml and push to GitHub. Unfortunately, we then have to kubectl apply -f file.yaml How could one automate the deployment…
Birdy
  • 103
  • 1
  • 4
0
votes
0 answers

Ansible simple inventory for dhcp hosts in yaml

Need a little hint on yaml syntax for a very simple inventory file. I want to include dhcp range of workstations in a nice inventory file. Regarding the official documentation this could be done but i'm not on the right track Need a little…
infoman33
  • 1
  • 1
0
votes
0 answers

I m trying to use mysqldump but getting error mysqldump: Got error: 2003: Can't connect to MySQL server on host(110) when trying to connect

Here is my sam template for taking database backup trigger: - none pool: vmImage: ubuntu-latest steps: - script: echo Hello, world! displayName: 'Run a one-line script' - script: | sudo apt-get -f install -o…
vithya m
  • 1
  • 1
0
votes
1 answer

Salt state file doesn't load info from pillar

I'm getting this error when I'm trying to apply my statefile to my minion: client.school.test: Data failed to compile: Rendering SLS 'base:nextcloud2' failed: Jinja variable 'list object' has no attribute 'db_name' I'm trying to enter the data…
0
votes
1 answer

Docker private registry as kubernetes pod - deleted images auto-recreated

I run a docker private registry v2.7.0 as a kubernetes pod with a service and a persistent volume, thanks to the Varun Kumar G tutorial, which has been the only successful method on my setup, for kubernetes to pull from my private docker registry on…
0
votes
1 answer

ansible - how to get over "conflicting action statements" error?

I have an Ansible playbook for creating and resizing logical Volumes # playbook lvol.yml - hosts: step tasks: - name: 'create /dev/sdb1 -> 20GB (of 35GB)' community.general.parted: device: /dev/sdb number: 1 state: present # …
vrms
  • 287
  • 1
  • 7
  • 17
0
votes
1 answer

Server set up using app.yaml, cron.yaml, etc. But directories aren't recognized

As the title says, the server has been configured to recognize sub directories but for whatever reason they are not being recognized when I load a web page. Is there any way to debug what is going on? threadsafe: true api_version: 1 handlers: -…
0
votes
1 answer

deploying on hosts with ansible based on yaml file

Developers are going to provide a yaml file with hosts in particular order (every deployment can differ, depend on needs) and each field in yaml file will have instructions for example install yum packages. I'm going to take this information and run…
0
votes
1 answer

GCP Deployment Manager: where to find a reference guide to properly create YAML config and template files?

I started working with Google Cloud Deployment Manager upon request of a client, using YAML config files, but I can't find anywhere how to map the reference shown in…
solr
  • 103
  • 2
0
votes
1 answer

Merge few files in Ansible lookup file

So far I use simple code to deploy Docker stacks. I don't want to use community.general.docker_stack module, due to its ridiculous requirement: the stack definition (docker compose yml file) needs to be placed at the remote node, while I want to…
0
votes
0 answers

How to log HTTP requests in file in Dropwizard?

I'm having issue in my Dropwizard (version 1.3.8) app logging HTTP Requests into file. I've followed Dropwizard's documentation for configuration of YAML file and my config.yml looks like this: logging: level: INFO loggers: …
NikolaS
  • 101
  • 1
  • 1
  • 7