:::: MENU ::::

Howk IT-Dienstleistungen

Howk IT Services – Howk IT-Dienstleistungen

Posts Categorized / Hi Tech

  • Jan 17 / 2019
  • 0
Hi Tech

Google Prepares Android App Developers For 64-bit Switchover On Play Store

Google Prepares Android App Developers For 64-bit Switchover On Play Store
Google has slowly been grooming Android developers for a 64-bit world for the past couple of years, and will continue to do up through the latter half of 2021. Nothing has really changed in that regard, though Google is now providing app developers with a more detailed timeline so they can plan their switchover accordingly, if they haven’t

  • Jan 17 / 2019
  • 0
Hi Tech

EVGA NU Audio Review: Crisp, Clear, Sound For PC Enthusiasts

EVGA NU Audio Review: Crisp, Clear, Sound For PC Enthusiasts
EVGA boldly entered a new product category and launched its first sound card at CES, the aptly named EVGA Nu Audio. The Nu Audio card represents the culmination of a few years of co-development efforts with the folks at U.K.-based Audio Note, makers of high-end audio reproduction equipment. Unlike many sounds cards that tweak and massage source…

  • Jan 17 / 2019
  • 0
Hi Tech

Google Play Is Killing Android Apps That Ask For SMS or Call Log Permissions

Google Play Is Killing Android Apps That Ask For SMS or Call Log Permissions
Google is facing a serious issue with privacy and malicious apps on the Google Play store for Android users. The company recently kicked 85 apps that were malware-laden off the Play Store, and has now announced that the removal process for any apps that ask for SMS or Call Log permissions is beginning for developers who fail to follow specific

  • Jan 17 / 2019
  • 0
Hi Tech

HoloLens 2 Wearable Expected At Microsoft MWC Event

HoloLens 2 Wearable Expected At Microsoft MWC Event
There have been rumors going around for a while now that Microsoft was ready to unveil the second generation of its HoloLens wearable at Mobile World Congress 2019. Microsoft has now sent out invites to its MWC event, which will be held on February 24 at 5 pm CET (11 am ET). On hand at the event will be Microsoft CEO Satya Nadella, CVP Julia

  • Jan 17 / 2019
  • 0
Hi Tech

2020 McLaren 600LT Spider Delivers Open-Top Thrill Rides At 197 MPH

2020 McLaren 600LT Spider Delivers Open-Top Thrill Rides At 197 MPH
McLaren has just removed the top from its 600LT (Long Tail). Meet the 600LT Spider, which features a retractable hardtop, allowing its well-healed buyers to enjoy triple-digit speeds with the wind in their hair.
The motorized hardtop mechanism only adds 110 pounds to the curb weight of the vehicle, which means that it should weigh in at just

  • Jan 16 / 2019
  • 0
Hi Tech

Blog: Container Storage Interface (CSI) for Kubernetes GA

Kubernetes Logo
CSI Logo

Author: Saad Ali, Senior Software Engineer, Google

The Kubernetes implementation of the Container Storage Interface (CSI) has been promoted to GA in the Kubernetes v1.13 release. Support for CSI was introduced as alpha in Kubernetes v1.9 release, and promoted to beta in the Kubernetes v1.10 release.

The GA milestone indicates that Kubernetes users may depend on the feature and its API without fear of backwards incompatible changes in future causing regressions. GA features are protected by the Kubernetes deprecation policy.

Why CSI?

Although prior to CSI Kubernetes provided a powerful volume plugin system, it was challenging to add support for new volume plugins to Kubernetes: volume plugins were “in-tree” meaning their code was part of the core Kubernetes code and shipped with the core Kubernetes binaries—vendors wanting to add support for their storage system to Kubernetes (or even fix a bug in an existing volume plugin) were forced to align with the Kubernetes release process. In addition, third-party storage code caused reliability and security issues in core Kubernetes binaries and the code was often difficult (and in some cases impossible) for Kubernetes maintainers to test and maintain.

CSI was developed as a standard for exposing arbitrary block and file storage storage systems to containerized workloads on Container Orchestration Systems (COs) like Kubernetes. With the adoption of the Container Storage Interface, the Kubernetes volume layer becomes truly extensible. Using CSI, third-party storage providers can write and deploy plugins exposing new storage systems in Kubernetes without ever having to touch the core Kubernetes code. This gives Kubernetes users more options for storage and makes the system more secure and reliable.

What’s new?

With the promotion to GA, the Kubernetes implementation of CSI introduces the following changes:

  • Kubernetes is now compatible with CSI spec v1.0 and v0.3 (instead of CSI spec v0.2).
    • There were breaking changes between CSI spec v0.3.0 and v1.0.0, but Kubernetes v1.13 supports both versions so either version will work with Kubernetes v1.13.
    • Please note that with the release of the CSI 1.0 API, support for CSI drivers using 0.3 and older releases of the CSI API is deprecated, and is planned to be removed in Kubernetes v1.15.
    • There were no breaking changes between CSI spec v0.2 and v0.3, so v0.2 drivers should also work with Kubernetes v1.10.0+.
    • There were breaking changes between the CSI spec v0.1 and v0.2, so very old drivers implementing CSI 0.1 must be updated to be at least 0.2 compatible before use with Kubernetes v1.10.0+.
  • The Kubernetes VolumeAttachment object (introduced in v1.9 in the storage v1alpha1 group, and added to the v1beta1 group in v1.10) has been added to the storage v1 group in v1.13.
  • The Kubernetes CSIPersistentVolumeSource volume type has been promoted to GA.
  • The Kubelet device plugin registration mechanism, which is the means by which kubelet discovers new CSI drivers, has been promoted to GA in Kubernetes v1.13.

How to deploy a CSI driver?

Kubernetes users interested in how to deploy or manage an existing CSI driver on Kubernetes should look at the documentation provided by the author of the CSI driver.

How to use a CSI volume?

Assuming a CSI storage plugin is already deployed on a Kubernetes cluster, users can use CSI volumes through the familiar Kubernetes storage API objects: PersistentVolumeClaims, PersistentVolumes, and StorageClasses. Documented here.

Although the Kubernetes implementation of CSI is a GA feature in Kubernetes v1.13, it may require the following flag:

  • API server binary and kubelet binaries:
    • --allow-privileged=true
    • Most CSI plugins will require bidirectional mount propagation, which can only be enabled for privileged pods. Privileged pods are only permitted on clusters where this flag has been set to true (this is the default in some environments like GCE, GKE, and kubeadm).

Dynamic Provisioning

You can enable automatic creation/deletion of volumes for CSI Storage plugins that support dynamic provisioning by creating a StorageClass pointing to the CSI plugin.

The following StorageClass, for example, enables dynamic creation of “fast-storage” volumes by a CSI volume plugin called “csi-driver.example.com”.

kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: fast-storage
provisioner: csi-driver.example.com
parameters:
type: pd-ssd
csi.storage.k8s.io/provisioner-secret-name: mysecret
csi.storage.k8s.io/provisioner-secret-namespace: mynamespace

New for GA, the CSI external-provisioner (v1.0.1+) reserves the parameter keys prefixed with csi.storage.k8s.io/. If the keys do not correspond to a set of known keys the values are simply ignored (and not passed to the CSI driver). The older secret parameter keys (csiProvisionerSecretName, csiProvisionerSecretNamespace, etc.) are also supported by CSI external-provisioner v1.0.1 but are deprecated and may be removed in future releases of the CSI external-provisioner.

Dynamic provisioning is triggered by the creation of a PersistentVolumeClaim object. The following PersistentVolumeClaim, for example, triggers dynamic provisioning using the StorageClass above.

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: my-request-for-storage
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
storageClassName: fast-storage

When volume provisioning is invoked, the parameter type: pd-ssd and the secret any referenced secret(s) are passed to the CSI plugin csi-driver.example.com via a CreateVolume call. In response, the external volume plugin provisions a new volume and then automatically create a PersistentVolume object to represent the new volume. Kubernetes then binds the new PersistentVolume object to the PersistentVolumeClaim, making it ready to use.

If the fast-storage StorageClass is marked as “default”, there is no need to include the storageClassName in the PersistentVolumeClaim, it will be used by default.

Pre-Provisioned Volumes

You can always expose a pre-existing volume in Kubernetes by manually creating a PersistentVolume object to represent the existing volume. The following PersistentVolume, for example, exposes a volume with the name “existingVolumeName” belonging to a CSI storage plugin called “csi-driver.example.com”.

apiVersion: v1
kind: PersistentVolume
metadata:
name: my-manually-created-pv
spec:
capacity:
storage: 5Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
csi:
driver: csi-driver.example.com
volumeHandle: existingVolumeName
readOnly: false
fsType: ext4
volumeAttributes:
foo: bar
controllerPublishSecretRef:
name: mysecret1
namespace: mynamespace
nodeStageSecretRef:
name: mysecret2
namespace: mynamespace
nodePublishSecretRef
name: mysecret3
namespace: mynamespace

Attaching and Mounting

You can reference a PersistentVolumeClaim that is bound to a CSI volume in any pod or pod template.

kind: Pod
apiVersion: v1
metadata:
name: my-pod
spec:
containers:
- name: my-frontend
image: nginx
volumeMounts:
- mountPath: "/var/www/html"
name: my-csi-volume
volumes:
- name: my-csi-volume
persistentVolumeClaim:
claimName: my-request-for-storage

When the pod referencing a CSI volume is scheduled, Kubernetes will trigger the appropriate operations against the external CSI plugin (ControllerPublishVolume, NodeStageVolume, NodePublishVolume, etc.) to ensure the specified volume is attached, mounted, and ready to use by the containers in the pod.

For more details please see the CSI implementation design doc and documentation.

How to write a CSI Driver?

The kubernetes-csi site details how to develop, deploy, and test a CSI driver on Kubernetes. In general, CSI Drivers should be deployed on Kubernetes along with the following sidecar (helper) containers:

Storage vendors can build Kubernetes deployments for their plugins using these components, while leaving their CSI driver completely unaware of Kubernetes.

List of CSI Drivers

CSI drivers are developed and maintained by third parties. You can find a non-definitive list of CSI drivers here.

What about in-tree volume plugins?

There is a plan to migrate most of the persistent, remote in-tree volume plugins to CSI. For more details see design doc.

Limitations of GA

The GA implementation of CSI has the following limitations:

  • Ephemeral local volumes must create a PVC (pod inline referencing of CSI volumes is not supported).

What’s next?

  • Work on moving Kubernetes CSI features that are still alpha to beta:
    • Raw block volumes
    • Topology awareness (the ability for Kubernetes to understand and influence where a CSI volume is provisioned (zone, regions, etc.).
    • Features depending on CSI CRDs (e.g. “Skip attach” and “Pod info on mount”).
    • Volume Snapshots
  • Work on completing support for local ephemeral volumes.
  • Work on migrating remote persistent in-tree volume plugins to CSI.

How to get involved?

The Kubernetes Slack channel wg-csi and the Google group kubernetes-sig-storage-wg-csi along with any of the standard SIG storage communication channels are all great mediums to reach out to the SIG Storage team.

This project, like all of Kubernetes, is the result of hard work by many contributors from diverse backgrounds working together. We offer a huge thank you to the new contributors who stepped up this quarter to help the project reach GA:

If you’re interested in getting involved with the design and development of CSI or any part of the Kubernetes Storage system, join the Kubernetes Storage Special Interest Group (SIG). We’re rapidly growing and always welcome new contributors.

  • Jan 16 / 2019
  • 0
Hi Tech

Samsung’s Galaxy S10: What We Know So Far About This Snapdragon 855 Flagship

Samsung's Galaxy S10: What We Know So Far About This Snapdragon 855 Flagship
We have been talking about Samsung’s upcoming Galaxy S10 for about a full year now, and at long last, a launch is only about a month away—Samsung is expected to debut the handset during its Unpacked event on February 20. As we get closer to that date, we thought it would be a good idea to recap the various leaks and rumors to this point. So,

  • Jan 16 / 2019
  • 0
Hi Tech

Nissan Debuts IMs Concept EV Sedan With 380-Mile Range To Ruffle Tesla’s Feathers

Nissan Debuts IMs Concept EV Sedan With 380-Mile Range To Ruffle Tesla's Feathers
When it comes to modern electric vehicles, Tesla has become synonymous with advancing the genre. The company really caught a lot of attention with its Model S and has lit up the sales charts with its more mainstream Model 3. Now, Nissan is looking past its own econobox Leaf EV so push forward with the IMs concept. 
The IMs features a brand-new

  • Jan 16 / 2019
  • 0
Hi Tech

Get TCL 4K Roku Smart TV Deals For Up To $400 Off In Time For The Big Game

Get TCL 4K Roku Smart TV Deals For Up To $400 Off In Time For The Big Game
Black Friday isn’t the only time you can get some outstanding deals on big screen TVs. Each year the build-up to the biggest NFL game of the year brings with it some very good deals on big TVs, and this year is no different. Amazon has big discounts on various sizes of the TCL 4K Ultra HD Roku Smart LED TV family.

Amazon is offering the