Skip to content

Instantly share code, notes, and snippets.

View bertinatto's full-sized avatar

Fabio Bertinatto bertinatto

View GitHub Profile
@bertinatto
bertinatto / redhat-compile-emacs.sh
Last active August 12, 2020 20:25 — forked from harrifeng/redhat-compile-emacs.sh
Compile emacs on redhat and centos
yum -y groupinstall "Development Tools"
yum -y install gtk+-devel gtk2-devel
yum -y install libXpm-devel
yum -y install libpng-devel
yum -y install giflib-devel
// ensureTopologyRequirements sets nodeSelection affinity according to given topology keys for drivers that provide them.
// If no node with the given topology key is found, this function will skip the test directly.
func ensureTopologyRequirements(nodeSelection *e2epod.NodeSelection, cs clientset.Interface, topologyKeys []string, minCount int) error {
nodes, err := e2enode.GetReadySchedulableNodes(cs)
if err != nil {
return err
}
// Get the number of nodes per zone per topology key.
// Example: map["topology.ebs.csi.aws.com/zone"]["us-east-1"] = 2
I0815 13:20:40.130827 1 main.go:61] Version : v0.2.0-0-g07a4fd9
I0815 13:20:40.132218 1 connection.go:151] Connecting to unix:///csi/csi.sock
I0815 13:20:40.133071 1 common.go:111] Probing CSI driver for readiness
I0815 13:20:40.133104 1 connection.go:180] GRPC call: /csi.v1.Identity/Probe
I0815 13:20:40.133110 1 connection.go:181] GRPC request: {}
I0815 13:20:40.136549 1 connection.go:183] GRPC response: {}
I0815 13:20:40.138056 1 connection.go:184] GRPC error: <nil>
I0815 13:20:40.138112 1 connection.go:180] GRPC call: /csi.v1.Identity/GetPluginInfo
I0815 13:20:40.138137 1 connection.go:181] GRPC request: {}
I0815 13:20:40.140530 1 connection.go:183] GRPC response: {"name":"pd.csi.storage.gke.io","vendor_version":"v0.5.2-gke.0"}
My PR:
BenchmarkSchedulingPodAntiAffinity/5000Nodes/1000Pods-4 1000 29311386 ns/op
BenchmarkSchedulingSecrets/5000Nodes/1000Pods-4 1000 24613584 ns/op
BenchmarkSchedulingInTreePVs/5000Nodes/1000Pods-4 1000 108356199 ns/op
BenchmarkSchedulingMigratedInTreePVs/5000Nodes/1000Pods-4 1000 109103212 ns/op
BenchmarkSchedulingCSIPVs/5000Nodes/1000Pods-4 1000 79407220 ns/op
Master:
# Update
sudo dnf upgrade
sudo reboot
# Feddy
# RPM Fusion
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
# Install fedy copr repository
sudo dnf copr enable kwizart/fedy
"menu_item": {
"brand_points_id": null,
"category": "Combo Meals",
"category_id": "combo-meals",
"description": "turkey breast, *romaine lettuce, mozzarella, tomatoes, pesto *Panini does not include lettuce",
"item_id": "276940",
"item_name": "Turkey Pesto",
"large_image": null,
"modifier_groups": [
{