Skip to content

Instantly share code, notes, and snippets.

View deepaksood619's full-sized avatar
🎯
Focusing

Deepak Sood deepaksood619

🎯
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am deepaksood619 on github.
  • I am deepaksood619 (https://keybase.io/deepaksood619) on keybase.
  • I have a public key ASB9czS8IY4ExWBoKn0g_gkLRely0xm5NseWWYTbpsj9BAo

To claim this, I am signing this object:

@deepaksood619
deepaksood619 / jupyterlab-deployment.yaml
Created April 28, 2020 21:26
Jupyterlab standalone deployment in Kubernetes cluster
apiVersion: apps/v1
kind: Deployment
metadata:
name: jupyterlab
namespace: jlab
labels:
name: jupyterlab
spec:
replicas: 1
selector:
@deepaksood619
deepaksood619 / app.py
Last active March 7, 2024 18:45
Setting up Logging in Python and Flask Application the right way
import json
import requests
import logging
import os
from logging.config import dictConfig
# debug settings
debug = eval(os.environ.get("DEBUG", "False"))
from flask import Flask, make_response, request
import base64
import http.client as httplib
import logging
import os
import time
import traceback
import zlib
from confluent_kafka import Consumer, KafkaError, Producer
@deepaksood619
deepaksood619 / konga-cluster.yaml
Created May 5, 2019 06:43
Deploying Konga in Kubernetes to access Kong using AdminUI
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: konga
namespace: kong
spec:
replicas: 1
template:
metadata: