Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Fabrice Aneche akhenakh

🏠
Working from home
Block or report user

Report or block akhenakh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@akhenakh
akhenakh / traefik2.yaml
Created Oct 7, 2019
Traefik2 Kubernetes example config
View traefik2.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: traefik
name: traefik
namespace: default
spec:
replicas: 1
selector:
@akhenakh
akhenakh / traefik.yaml
Last active Sep 18, 2019
traefik 2.0 Kubernetes
View traefik.yaml
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: ingressroutes.traefik.containo.us
spec:
group: traefik.containo.us
version: v1alpha1
names:
kind: IngressRoute
@akhenakh
akhenakh / boot.txt
Created Jul 8, 2019
rk3328 ayufan 5 boot
View boot.txt
[ 3.636884] Internal error: SP/PC alignment exception: 8a000000 [#1] PREEMPT SMP
[ 3.636982] ------------[ cut here ]------------
[ 3.637542] Modules linked in:
[ 3.637945] refcount_t: underflow; use-after-free.
[ 3.638215] Process swapper/0 (pid: 1, stack limit = 0x(____ptrval____))
[ 3.638694] WARNING: CPU: 2 PID: 0 at lib/refcount.c:190 refcount_sub_and_test_checked+0x94/0xb0
[ 3.639215] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.1.0-1114-ayufan-g097e5be61be4 #ayufan
[ 3.639973] Modules linked in:
[ 3.640712] Hardware name: Rockchip RK3328 T9 (DT)
[ 3.640979] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 5.1.0-1114-ayufan-g097e5be61be4 #ayufan
@akhenakh
akhenakh / PKGBUILD
Last active Jun 5, 2019
rock64 updated ayufan kernel for AUR 4.4.167-1187-rockchip-ayufan
View PKGBUILD
# AArch64 multi-platform
# PKGBUILD Maintainer: Raanu <Gero3977@gmail.com>
# Kernel maintainer: Ayufan <ayufan@ayufan.eu>
# The below variables get updated from external script when new builds are released
_kernver=4.4.167-1200-rockchip-ayufan-gb87a48aaf35f
_imagename=linux-image-4.4.167-1200-rockchip-ayufan-gb87a48aaf35f_4.4.167-1200-rockchip-ayufan_arm64.deb
_headersname=linux-headers-4.4.167-1200-rockchip-ayufan-gb87a48aaf35f_4.4.167-1200-rockchip-ayufan_arm64.deb
_releasetag=4.4.167-1200-rockchip-ayufan
_pkgver=4.4.167_1200
@akhenakh
akhenakh / caddy.yaml
Created Apr 29, 2019
deploy caddy with a git clone and hugo transform
View caddy.yaml
---
apiVersion: v1
kind: ConfigMap
metadata:
name: caddy-git-config
labels:
app: caddy-git
data:
Caddyfile: |
:80
@akhenakh
akhenakh / app.yaml
Last active Oct 2, 2019
Example of graceful shutdown with grpc healthserver * httpserver
View app.yaml
readinessProbe:
exec:
command: ["/root/grpc_health_probe", "-addr=:6666"]
initialDelaySeconds: 1
livenessProbe:
exec:
command: ["/root/grpc_health_probe", "-addr=:6666"]
initialDelaySeconds: 2
imagePullPolicy: IfNotPresent
@akhenakh
akhenakh / dashboard-ingress.yaml
Created Mar 13, 2019
Kubernetes Dashboard Ingress, don't do that in production for your dev only (minikube ...), you need an ingress controller as Traefik or Nginx ..., kubectl create -f deployment/dev/dashboard-ingress.yaml
View dashboard-ingress.yaml
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: dashboard-ingress
namespace: kube-system
spec:
rules:
- host: dashboard.minikube
http:
View project-apps.yaml
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: ${NAME}
labels:
app: "${NAME}"
commit: "${VERSION}"
appgroup: "${PROJECT}"
deploydate: "${DATE}"
spec:
View jaeger.yaml
#
# Copyright 2017-2019 The Jaeger Authors
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
@akhenakh
akhenakh / .vimrc
Created Dec 17, 2018
curent plugins and config
View .vimrc
" install vim-plug
" curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
call plug#begin('~/.vim/plugged')
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
Plug 'zchee/deoplete-go', { 'do': 'make'}
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
You can’t perform that action at this time.