Skip to content

Instantly share code, notes, and snippets.

View VidyasagarMSC's full-sized avatar
👨‍💻
Coding, Exploring & Cooking too many things ==>

Vidyasagar Machupalli VidyasagarMSC

👨‍💻
Coding, Exploring & Cooking too many things ==>
View GitHub Profile
@VidyasagarMSC
VidyasagarMSC / istioctl_windows10.md
Last active January 8, 2024 11:41
Setup Istio/istioctl on Windows 10

Download Istio

Set the environment variable

  • Copy the absolute path to the bin folder under the downloaded istio-<VERSION_NUMBER> folder e.g., C:/Users/Administrator/istio-1.0.5-win/istio-1.0.5/bin
  • In the Search on the taskbar, look and open "Edit environment variables for my account".
  • Under User variables, edit path environment variable and add a new entry pointing to the bin folder as copied above. Save the entries.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
apiVersion: serving.knative.dev/v1alpha1 # Current version of Knative
kind: Service
metadata:
name: knative-node-kaniko # The name of the app
namespace: default # The namespace the app will use
spec:
runLatest:
configuration:
revisionTemplate:
spec:
apiVersion: build.knative.dev/v1alpha1
kind: Build
metadata:
name: kaniko-build
spec:
serviceAccountName: build-bot
source:
git:
url: https://github.com/VidyasagarMSC/knative-deploy # source code from GitHub
revision: master
apiVersion: v1
kind: ServiceAccount
metadata:
name: build-bot
secrets:
- name: basic-user-pass
apiVersion: v1
kind: Secret
metadata:
name: basic-user-pass
annotations:
build.knative.dev/docker-0: registry.<region>.bluemix.net # replace the <region>
type: kubernetes.io/basic-auth
stringData:
username: token # username
password: <password> # token-value
apiVersion: build.knative.dev/v1alpha1
kind: BuildTemplate
metadata:
name: kaniko
spec:
parameters:
- name: IMAGE
description: registry.<region>.bluemix.net/<namespace>/knative-node-kaniko #replace <region> and <namespace>
- name: DOCKERFILE
description: ./Dockerfile
@VidyasagarMSC
VidyasagarMSC / IBMMobile@Conferences.md
Last active June 5, 2018 06:28
IBM Mobile at #AltConf and #WWDC2018.
@VidyasagarMSC
VidyasagarMSC / Conversations.md
Last active March 16, 2017 02:26
Code samples leveraging the power of IBM Watson Conversation Service

Code Samples with step-by-step instructions

  • NearBY - A swift iOS app for finding the best places NearBY with kitura backend API, Bluemix Mobile and Watson Services.
  • WatBot - An Android ChatBot powered by IBM Watson and using Conversation Service on IBM Bluemix.
  • Cloud Co Insurance - The application showcases cognitive and cloud computing ideas in the context of insurance. https://cloudco.mybluemix.net/
  • Conversation Simple - A simple sample application demonstrating the conversation api.
  • Conversation Enhanced - This application demonstrates the combination of the IBM Watson Conversation and Retrieve and Rank services.

Other Code Samples