Cerca

Heus ací els resultats de la cerca.

terraform azure @tech:terraform
21 Resultats, Darrera modificació:
e tfstate <code bash> #!/bin/bash RESOURCE_GROUP_NAME=tstate STORAGE_ACCOUNT_NAME=tstate$RANDOM CONTAINER_NAME=tstate # Create resource group #az group create --name $RESOURCE_GROUP_NAME --location eastus az group c
kubernetes namespace @tech:k8s:cli
17 Resultats, Darrera modificació:
= kubernetes namespace <code bash; listado de los namespaces existentes>kubectl get namespace</code> <code bash; instrucciones sobre un namespace concreto>kubectl get pods --namespace=<insert-
terraform variables @tech:terraform
13 Resultats, Darrera modificació:
ad de diferentes tipos * <code javascript>{ name = "John" age = 52 }</code> * <code ruby>variable "wks_rg_name" { type = object({ pre = string, in... = string, default = string }) } wks_rg_name = { pre = "prepre", int = "intint", ... "" } resource "azurerm_resource_group" "rg" { name = "rg1-rg-${var.wks_rg_name[terraform.workspa
terraform win-instance @tech:terraform
13 Resultats, Darrera modificació:
{ cidr_block = "172.16.0.0/16" tags = { Name = "tf-example" } } resource "aws_subnet" "my_s... map_public_ip_on_launch = true tags = { Name = "tf-example" } } resource "aws_internet_gate... { vpc_id = "${aws_vpc.my_vpc.id}" tags { Name = "IGW-MYAPP" } depends_on = ["aws_vpc.my_vp... ivate_ips = ["172.16.10.100"] # tags = { # Name = "primary_network_interface" # } # } resource
Terraform workspace @tech:terraform:poc
12 Resultats, Darrera modificació:
ng" default = "West Europe" } variable "wks_rg_name" { type = object({ pre = string, in... = string, default = string }) } wks_rg_name = { pre = "prepre", int = "intint", ... "" } resource "azurerm_resource_group" "rg" { name = "rg1-rg-${var.wks_rg_name[terraform.workspace]}" location = "${var.location}" tags = { s
master template @tech:vagrant:vagrantfile
12 Resultats, Darrera modificació:
hosts.each do |host| config.vm.define host['name'] do |node| node.vm.box = host['box'] ... ox do |v| v.linked_clone = true v.name = host['name'] v.cpus = host['cpus'] v.memory = host['memory'] end end end end </sxh> <sxh ruby; title: vms.yml> - name: openshift-master box: centos/7 hostname: 10.
git tips @tech:git
11 Resultats, Darrera modificació:
ombrado rama en local y remoto> git checkout <old_name> && git branch -m <new_name> # o git branch -m <old_name> <new_name> git push -u origin <new_name> # y comprobar en remoto que todo ha ido bien git push origin
docker volumes @tech:docker
10 Resultats, Darrera modificació:
docker run * ''--volume | -v'' * ''[ volume_name | local_path | <nothing-for-anonymous-volume ] : ... * ''type=[bind,volume,tmpfs], [ source|src= {name,path} ], destination|dst|target=<path-in-containe... te == examples <code bash> docker run -d \ --name devtest \ --mount source=myvol2,target=/app \ #... nx:latest </code> <code bash> docker run -d \ --name=nginxtest \ --mount source=nginx-vol,destinatio
docker TLS (OLD) @tech:docker
9 Resultats, Darrera modificació:
tps://www.labkey.org/Documentation/wiki-page.view?name=dockerTLS]] * [[https://docs.docker.com/engine/... eq] req_extensions = v3_req distinguished_name = req_distinguished_name [req_distinguished_name] [ v3_req] basicConstraints = CA:FALSE keyUsage = nonRepudiatio
vagrant mysql @tech:vagrant:vagrantfile
8 Resultats, Darrera modificació:
Vagrantfile> IP = '192.168.1.20' VERSION = '5.5' NAME = "mysql-#{VERSION}" Vagrant.configure("2") do |... m.box = "altrankas/mysql5" config.vm.hostname = NAME config.vm.define NAME config.vm.network "private_network", ip: "#{IP}" config.vm.network "forward... v.gui = true v.linked_clone = true v.name = NAME end config.vm.provision "shell", path
vagrantfile @tech:vagrant
6 Resultats, Darrera modificació:
== Vagrant.configure("2") do |config| * config namespace: [[https://www.vagrantup.com/docs/vagrantfil... xes/bullseye64" === hostname === provision * **name**: nombre del provisionar (para info) * **type*... * inline (key/value): <code>config.vm.provision [name] type: "shell", path: "bootstrap.sh"</code> * Ruby block: <code>config.vm.provision [name] :shell, inline: "echo hello"</code> * <code>
Dockerfile mariadb + SSL @tech:docker:dockerfile:examples
6 Resultats, Darrera modificació:
csr.conf>[req] default_bits = 2048 distinguished_name = dn prompt = no [dn] C="TW" ST="Tai... "yourdomain.com" [req_ext] subjectAltName = @alt_names [alt_names] DNS.0 = *.yourdomain.com DNS.1 = *.dev.yourdomain.com</code> * importante que el CN (Common Name) sea distinto en los diferentes **req** * /vi
casos de uso @tech:terraform
4 Resultats, Darrera modificació:
powershell; template.tpl> Install-WindowsFeature -Name GPMC,RSAT-AD-PowerShell,RSAT-AD-AdminCenter,RSAT-... S-Tools,RSAT-DNS-Server New-ADOrganizationalUnit -Name "${container_OU}" -Path "${base_path_AD}" New-ADGroup -Name "${admin_vpn_group}" -SamAccountName ${admin_vpn_... ed = $true ChangePasswordAtLogon = $false Name = "${user}" AccountPassword = "${password}" |
docker-compose casos de uso @tech:docker:docker-compose
4 Resultats, Darrera modificació:
/mysql env_file: - db.env container_name: mariadb adminer: image: adminer resta... ainer/portainer restart: always container_name: "portainer-app" # command: --templates http:/... tranet depends_on: - "db" container_name: php db: image: mariadb # restart: alwa... /mysql env_file: - db.env container_name: db </code> <code properties db.env> MYSQL_ROOT_P
kubernetes events @tech:k8s:cli
4 Resultats, Darrera modificació:
ema retención "superior": stackdriver logging * namespaced <code bash> k get events [--watch] [ [--namespace=<NAMESPACE>] [--all-namespaces] ] </code>
istio @tech:istio
3 Resultats, Darrera modificació:
VAGRANT @tech:vagrant
3 Resultats, Darrera modificació:
3 nodos vagrant + docker @tech:vagrant:vagrantfile
3 Resultats, Darrera modificació:
docker run @tech:docker
2 Resultats, Darrera modificació:
DOCKER @tech:docker
2 Resultats, Darrera modificació:
POC estructura AD @tech:terraform
2 Resultats, Darrera modificació:
AWS @tech:aws
1 Resultats, Darrera modificació:
docker swarm: official guide @tech:dockerswarm
1 Resultats, Darrera modificació:
git alias @tech:git
1 Resultats, Darrera modificació:
git config @tech:git
1 Resultats, Darrera modificació:
git DIFF @tech:git
1 Resultats, Darrera modificació:
git diff[tool] @tech:git
1 Resultats, Darrera modificació:
git: fusion varios repos en 1 conservando historia @tech:git
1 Resultats, Darrera modificació:
kubernetes rbac @tech:k8s
1 Resultats, Darrera modificació:
kubernetes @tech:k8s
1 Resultats, Darrera modificació:
Terraform cli @tech:terraform
1 Resultats, Darrera modificació:
terraform data source @tech:terraform
1 Resultats, Darrera modificació:
URI @tech:uri
1 Resultats, Darrera modificació:
vagrantfile examples @tech:vagrant
1 Resultats, Darrera modificació:
dockerd remote tls access @tech:docker:dockerd
1 Resultats, Darrera modificació:
kubernetes in azure @tech:k8s:cli
1 Resultats, Darrera modificació:
kubectl proxy @tech:k8s:cli
1 Resultats, Darrera modificació:
Vagrantfile: multi-machine cluster in a loop @tech:vagrant:vagrantfile
1 Resultats, Darrera modificació:
vagrant + docker @tech:vagrant:vagrantfile
1 Resultats, Darrera modificació:
vagrant php @tech:vagrant:vagrantfile
1 Resultats, Darrera modificació:
vagrant tomcat (7/8) con JDK (7/8) @tech:vagrant:vagrantfile
1 Resultats, Darrera modificació:
vagrant + docker + ngnix @tech:vagrant:vagrantfile
1 Resultats, Darrera modificació:
vagrant weblogic @tech:vagrant:vagrantfile
1 Resultats, Darrera modificació: