Download and install talosctl
binary
wget https://github.com/talos-systems/talos/releases/download/v0.8.1/talosctl-linux-amd64
This was initially posted in an kubernetes-sigs/kustomize issue.
We are using Kustomize's vars
feature. Initially we didn't understand how to use it for our purpose, but it is a 100% fit. One example is our Ingress resource, which looks like this:
# file: base/ingress.yaml
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: services
apiVersion: "security.istio.io/v1beta1" | |
kind: RequestAuthentication | |
metadata: | |
name: echoserver | |
namespace: default | |
spec: | |
selector: | |
matchLabels: | |
app: echoserver | |
jwtRules: |
apiVersion: networking.istio.io/v1alpha3 | |
kind: EnvoyFilter | |
metadata: | |
name: authn-filter | |
namespace: ns1 | |
spec: | |
workloadLabels: | |
#include namespace in the label to avoid clashes across namespaces | |
authn-ns1: enabled | |
filters: |
#!/bin/sh | |
# ipv6-off.sh | |
# Disable IPv6 on all interfaces. | |
IFS=$'\n' | |
net=`networksetup -listallnetworkservices | grep -v asterisk` | |
for i in $net | |
do | |
networksetup -setv6off "$i" |
package sample1; | |
import java.io.UnsupportedEncodingException; | |
import java.util.Arrays; | |
import java.util.Base64; | |
import java.util.Properties; | |
import org.apache.kafka.clients.consumer.ConsumerRecord; | |
import org.apache.kafka.clients.consumer.ConsumerRecords; | |
import org.apache.kafka.clients.consumer.KafkaConsumer; |
package main | |
import ( | |
"fmt" | |
_ "github.com/go-sql-driver/mysql" | |
"github.com/jmoiron/sqlx" | |
) | |
type Hoge struct { |
Kong, Traefik, Caddy, Linkerd, Fabio, Vulcand, and Netflix Zuul seem to be the most common in microservice proxy/gateway solutions. Kubernetes Ingress is often a simple Ngnix, which is difficult to separate the popularity from other things.
This is just a picture of this link from March 2, 2019
Originally, I had included some other solution
I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.
For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.
Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.
// Package main | |
// Copyright 2017 Kranz. All rights reserved. | |
// Use of this source code is governed by a MIT-style | |
// license that can be found in the LICENSE file. | |
/** | |
Test read file by chunks | |
➜ read ll | |
total 13241936 | |
drwxr-xr-x 5 rlopes staff 170B 16 Jan 01:19 ./ |